Part Number Hot Search : 
6106P IRFP341 MC12202M 2R2M105 HI1177 IRF741 HI1177 PSMN0
Product Description
Full Text Search
 

To Download SAA7390 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  d a t a sh eet preliminary speci?cation file under integrated circuits, ic01 1996 jul 02 integrated circuits SAA7390 high performance compact disc-recordable (cd-r) controller
1996 jul 02 2 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 contents 1 features 1.1 general 1.2 interface logic (cd-rom operation) 1.3 hardware third-level error correction 1.4 interface logic (cd-r operation) 1.5 dram buffer controller (256 kbytes 8, 1 mbyte 8, 4 mbytes 8) 1.6 additional product support 2 general description 3 quick reference data 4 ordering information 5 block diagram 6 pinning 7 functional description 7.1 input clock doubler 7.2 block encoder 7.3 front-end 7.4 track descriptor block 7.5 buffer manager 8 microcontroller interface 8.1 microprocessor interface status register 8.2 microcontroller interface command register 8.3 microprocessor interrupts 8.4 microcontroller ram organization 9 front panel and miscellaneous control signals 9.1 s2b uart registers 9.2 spi uart registers 9.3 track descriptor block (tdb) generation 9.4 miscellaneous control registers 10 front-end 10.1 minute-second frame addressing and header information 10.2 front-end status and control 11 buffer manager 11.1 front-end to buffer manager interface 11.2 microcontroller to buffer manager interface 11.3 ecc to buffer manager interface 11.4 scsi to buffer manager interface 11.5 miscellaneous buffer manager considerations 11.6 host interface related registers 11.7 cdb2 related registers 12 frame buffer organization 13 summary of control register map 14 limiting values 15 operating characteristics 15.1 i 2 s-bus timing; data mode 15.2 eiaj timing; audio mode 15.3 r-w timing (see fig.17) 15.4 c-flag timing (see fig.18) 15.5 s2b interface timing 15.6 spi interface timing 15.7 microprocessor interface 15.8 host interface 15.9 dram interface (the SAA7390 is designed to operate with standard 70 ns drams) 16 package outline 17 soldering 17.1 introduction 17.2 reflow soldering 17.3 wave soldering 17.4 repairing soldered joints 18 definitions 19 life support applications
1996 jul 02 3 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 1 features 1.1 general 8 speed cd-rom, 4 speed compact disc-recordable (cd-r) controller 16.9 mbytes/s burst rate to host controller high performance cd-rom and cd-r interface logic 128 pin qfp package. 1.2 interface logic (cd-rom operation) full 8 speed hardware operation block decoder sector sequencer crc checking of mode 1 and mode 2, form 1 sectors 212 ms watch-dog timer sub-code interface with synchronization c-flag interface for absolute time stamp. 1.3 hardware third-level error correction third-level correction provides superior performance in unfavourable conditions full hardware error correction to reduce microcontroller overhead corrections are automatically written to the dram frame buffer. 1.4 interface logic (cd-r operation) block encoder (using a modified cdb2). 1.5 dram buffer controller (256 kbytes 8, 1 mbyte 8, 4 mbytes 8) dram buffer manager ten level arbitration logic utilizes low cost 70 ns drams page mode dram access for high-speed error correction and host interface data transfers data organization by 3 kbytes frames. 1.6 additional product support input clock doubler all control registers mapped into 80c32 special function memory space red book audio pass through to host interface sub-code and q-channel support dedicated serial peripheral interface (spi) third level error correction and encoding 80c32 microcontroller interface 53cf90 or 53cf92a/b fast scsi processor interface (may also use atapi processor). 2 general description the SAA7390 is a high integration asic that incorporates all of the logic necessary to connect a cd-60 based decoder to a scsi or atapi host. it also supports a data path from the host to the cdcep (compact disc encoder) for cd-r applications. an 80c32 microcontroller and a 53cf94/92a (or an atapi interface device) are required to provide the full block encode/decode functions. the following functions are supported: input clock doubler block encoder (using a modified cdb2) block decoder crc checking of mode 1 and mode 2, form 1 sectors red book audio pass through to scsi or atapi sub-code and q-channel support dedicated s2b interface uart dedicated spi interface uart up to 4 mbytes dram buffer manager third-level error correction and encoding automatic storage of audio and data 80c32 microcontroller interface 53cf90 or 53cf92a/b fast scsi or wapiti atapi processor interface. the SAA7390 uses a 33.8688 mhz clock and is capable of accepting data at eight times (n = 8 or 1.4 mbytes/s) the normal cd-rom data rate. the minimum host burst rate capability of the SAA7390 is 5 mbytes/s. third level error correction hardware is included to improve the correction efficiency of the system. the buffer manager hardware utilizes a ten-level arbitration unit and can stop the clock to the static microcontroller to emulate a wait condition when necessary. the host interface is capable of burst rates to 16.9 mbytes/s.
1996 jul 02 4 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 the SAA7390 comprises four major functional blocks: the front-end block connects to the external cd-60 based decoder and fully processes the incoming data stream the buffer manager block provides the address generation and timing control for the external drams the ecc block performs the error correction functions in hardware on the data stored in the dram buffer. the block encoder function (realized via a modified cdb2) serializes the data from the buffer, appends the sync pattern, header, sub-header, third level ecc parity and edc bytes as necessary, performs the required scrambling and outputs them to the cdcep using a special data clock (98 clock cycles per word selection period). 3 quick reference data 4 ordering information note 1. this device uses a symbios logic package. symbol parameter min. typ. max. unit v dd digital supply voltage 4.5 5.0 5.5 v t amb operating ambient temperature 0 - 70 c t stg storage temperature - 55 - +150 c type number package name description version SAA7390gp (1) sqfp128 plastic quad ?at package; 128 leads (lead length 1.6 mm); body 14 20 2.8 mm sot387-2
1996 jul 02 5 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 5 block diagram 6 pinning all input and bidirectional signals are ttl level with schmitt-trigger logic, with the exception of oscin. all output signals are ttl levels unless otherwise stated. (pd = internal pull-down; pu = internal pull-up). symbol pin i/o type description da0 1 o dram address bus; bit da0 da1 2 o dram address bus; bit da1 da2 3 o dram address bus; bit da2 v ss1 4 - ground 1 da3 5 o dram address bus; bit da3 da4 6 o dram address bus; bit da4 da5 7 o dram address bus; bit da5 v ss2 8 - ground 2 da6 9 o dram address bus; bit da6 fig.1 block diagram (simplified). handbook, full pagewidth mge518 data converter and sub-code uart layered error corrector encode buffer mapper generic external interface buffer manager data subcode microcontroller interface s2b uart spi uart 80c32 microcontroller cd decoder basic engine write i/f data SAA7390 subcode c-flag 128k 8 rom 256k 8 to 4m 8 dram buffer scsi or atapi interface s2b interface spi interface
1996 jul 02 6 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 da7 10 o dram address bus; bit da7 v dd1 11 - power supply 1 da8 12 o dram address bus; bit da8 da9 13 o dram address bus; bit da9 da10 14 o dram address bus; bit da10 ras 15 o dram row address section; active low cas 16 o dram column address selection; active low dwr 17 o dram write; active low doe 18 o dram output enable; active low dd0 19 i/o pd dram data bus; bit dd0 v dd2 20 - power supply 2 dd1 21 i/o pd dram data bus; bit dd1 dd2 22 i/o pd dram data bus; bit dd2 dd3 23 i/o pd dram data bus; bit dd3 dd4 24 i/o pd dram data bus; bit dd4 v ss3 25 - ground 3 dd5 26 i/o pd dram data bus; bit dd5 dd6 27 i/o pd dram data bus; bit dd6 dd7 28 i/o pd dram data bus; bit dd7 com_in 29 i serial data in from basic engine com_out 30 o serial data out to basic engine com_clk 31 o serial data clock com_ack 32 i serial data acknowledge tra ysw 33 i pu active low when tray is in eject 34 i pu opens tray; active low lqdata 35 o latched quali?ed data lwclk 36 o latched word clock v dd3 37 - power supply 3 led 38 o cmos; 24 ma panel led; active low; open drain; 24 ma (min.) sink capability v ss4 39 - ground 4 sclk 40 o audio data clock v ss5 41 - ground 5 sysres 42 o system reset; active high sysres 43 o system reset; active low v dd4 44 - power supply 4 gpio3 45 i/o pd general purpose input/output 3 gpio4 46 i/o pd general purpose input/output 4 volup 47 i pu volume up; active low voldn 48 i pu volume down; active low uc_ad0 49 i/o microprocessor multiplexed address/data bus; bit uc_ad0 uc_ad1 50 i/o microprocessor multiplexed address/data bus; bit uc_ad1 symbol pin i/o type description
1996 jul 02 7 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 uc_ad2 51 i/o microprocessor multiplexed address/data bus; bit uc_ad2 uc_ad3 52 i/o microprocessor multiplexed address/data bus; bit uc_ad3 v ss6 53 - ground 6 uc_ad4 54 i/o microprocessor multiplexed address/data bus; bit uc_ad4 uc_ad5 55 i/o microprocessor multiplexed address/data bus; bit uc_ad5 uc_ad6 56 i/o microprocessor multiplexed address/data bus; bit uc_ad6 uc_ad7 57 i/o microprocessor multiplexed address/data bus; bit uc_ad7 v dd5 58 - power supply 5 uc_la0 59 o latched lower address; bit uc_la0 uc_la1 60 o latched lower address; bit uc_la1 uc_la2 61 o latched lower address; bit uc_la2 v ss7 62 - ground 7 uc_la3 63 o latched lower address; bit uc_la3 uc_la4 64 o latched lower address; bit uc_la4 uc_la5 65 o latched lower address; bit uc_la5 uc_la6 66 o latched lower address; bit uc_la6 uc_la7 67 o latched lower address; bit uc_la7 v ss8 68 - ground 8 pclk 69 o 33.8688 mhz microprocessor clock v dd6 70 - power supply 6 ale 71 i address latch enable uc_wr 72 i write enable uc_rd 73 i read enable int 74 o cmos interrupt to microcontroller; active low; open drain uc_a8 75 i upper address; bit uc_a8 uc_a9 76 i upper address; bit uc_a9 uc_a10 77 i upper address; bit uc_a10 sys_sync 78 i system synchronization from basic engine uc_a11 79 i upper address; bit uc_a11 uc_a12 80 i upper address; bit uc_a12 uc_a13 81 i upper address; bit uc_a13 com_sync 82 i communication synchronization from basic engine uc_a14 83 i upper address; bit uc_a14 uc_a15 84 i upper address; bit uc_a15 sd0 85 i/o internal data bus; bit sd0 v dd6 86 - power supply 6 sd1 87 i/o internal data bus; bit sd1 sd2 88 i/o internal data bus; bit sd2 v ss9 89 - ground 9 sd3 90 i/o internal data bus; bit sd3 sd4 91 i/o internal data bus; bit sd4 symbol pin i/o type description
1996 jul 02 8 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 sd5 92 i/o internal data bus; bit sd5 sd6 93 i/o internal data bus; bit sd6 sd7 94 i/o internal data bus; bit sd7 v ss10 95 - ground 10 dreq 96 i pd dma request dack 97 o dma acknowledge; active low hostrd 98 o read enable; active low hostwr 99 o write enable; active low hostsel 100 o chip select; active low csab 101 i word strobe for write data cclab 102 i clock for write data cdaab 103 o write data stream rxs2b 104 i pu receive data txs2b 105 o transmit data cpr 106 o ready to accept data; active low scsirst 107 i reset from scsi bus; active low por 108 i power-on reset; active low tcl_gpio1 109 i/o pd general purpose input/output 1 (also used as test-mode clock) spr 110 i ready to send data; active low tda_gpio2 111 i/o pd general purpose input/output 2 (also used as test-mode data) hfd 112 i laser on and focused status; active low kill 113 i pu mute audio; active low v ss11 114 - ground 11 mcout 115 o motor control output from pwm mcin 116 i pd motor control input from decoder rxsub 117 i pu sub-code input cflag 118 i pu c1 and c2 status v ss12 119 - ground 12 oscin 120 i input clock from decoder v dd7 121 - power supply 7 clab 122 i clock input daab 123 i data input wsab 124 i word strobe input efab 125 i error ?ags v ss13 126 - ground 13 clk34 127 o 33.8688 mhz output clock v dd8 128 - power supply 8 symbol pin i/o type description
1996 jul 02 9 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 fig.2 pin configuration. handbook, full pagewidth 128 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 59 60 61 62 63 64 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 30 29 28 27 26 25 24 23 22 21 20 38 37 36 35 34 33 32 31 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 mge517 SAA7390 dwr doe dd0 v dd2 dd1 dd2 dd3 dd4 v ss3 dd5 dd6 dd7 com_in com_out com_clk com_ack da0 da1 da2 v ss1 da3 da4 da5 v ss2 da6 da7 v dd1 da8 da9 da10 ras cas traysw eject lqdata lwclk v dd3 led v ss4 sclk v ss5 sysres sysres v dd4 gpio3 gpio4 volup voldn uc_ad0 uc_ad1 uc_ad2 uc_ad3 v ss6 uc_ad4 uc_ad5 uc_ad6 uc_ad7 v dd5 uc_la0 uc_la1 uc_la2 v ss7 uc_la3 uc_la4 uc_a12 uc_a11 sys_sync uc_a10 uc_a9 uc_a8 int uc_rd uc_wr ale v dd6 pclk v ss8 uc_la7 uc_la6 uc_la5 dreq v ss10 sd7 sd6 sd5 sd4 sd3 v ss9 sd2 sd1 v dd6 sd0 uc_a15 uc_a14 com_sync uc_a13 v dd8 clk34 v ss13 efab wsab daab clab v dd7 oscin v ss12 cflag rxsub mcin mcout v ss11 kill hfd tda_gpio2 spr tcl_gpio1 por scsirst cpr txs2b rxs2b cdaab cclab csab hostsel hostwr hostrd dack
1996 jul 02 10 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 d book, full pagewidth mge519 signal processor tda1372 3-beam mechanism cdm24 digital servo drivers oq8844 digital servo controller oq8845 servo micro compact disc encoder tda1371 cd-rom micro 80c32 cd-rom encoder and decoder SAA7390 wapiti 53cf90 53cf92a 53cf92b atapi/scsi interface dac tda1545a disc motor controller cdr650 s83c752 compact disc decoder lo9465 ram audio processor tda8425 atapi interface scsi-2 interface right output left output cd loader l2465 fig.3 double-speed write quad-speed play cd-r system d65420 with atapi or scsi-2 interface.
1996 jul 02 11 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 7 functional description 7.1 input clock doubler to facilitate compatibility of the SAA7390 with all of the available cd decoders, a clock doubler has been included. this clock doubler may take a 16.9344 mhz clock and double this when requested to do so by the microcontroller. logic has been included to remove the possibility of a runt clock pulse when the doubler is engaged. once engaged, the only way to disengage it is via a reset condition. 7.2 block encoder to support the write function, a modified version of the cdb2 function has been included. the block encoder accepts parallel data from the buffer manager, serializes it, calculates the crc and third-level ecc parity bytes and appends them when and where necessary. the ram required during the parity calculation is included on the SAA7390. the following modifications to the cdb2 have been made: word select in bypass mode has been inverted to match the data mode the end-of-frame signal is now generated during the bypass and cd-rom mode and will interrupt the microcontroller at the end of each frame the end-of-frame signal is also used to correctly synchronize between bypass mode and regular data mode at the end of a frame. the modes programmed into the cdb2 command, header, sub-header and block size registers will automatically switch in or out at the end of frame drq in ccmd is also synchronized to frame boundaries using the end-of-frame signal. this change is valid for both bypass and regular data modes. 7.3 front-end the front-end section of the SAA7390 is identical to the front-end of the mini-sequoia (also found on the saa7385), with the exception of the serial peripheral interface (spi). the front-end is comprised of many sub-sections. 7.3.1 b lock decoder the block decoder first reverses the bits of each received byte and then runs them through a linear feedback shift register to be de-scrambled. the polynomial used to de-scramble the serial data is as follows: x 15 +x+1 it also detects and tests the synchronization field and will start the data clock when commanded. the de-scrambled header is assembled into four registers with header ready and header error status (see hdrrdy and hdrerr in rddstat). the data clock does not have to be enabled to receive valid headers. also included in this section is the logic required to decide when to automatically start collecting data and sub-code information based on the contents of the q-channel registers. 7.3.2 s ector sequencer the sector sequencer de-serializes the data and error flags from the block decoder and determines when to: write data to the buffer write flags to the buffer test the header to determine the mode test the sub-header to determine the form test the crc end the sector and write the status byte to the buffer. included in the sector sequencer is the crc generator which checks each yellow book or green book sector as it is shifted into the SAA7390 in accordance with the following polynomial: x 32 +x 31 +x 16 +x 15 +x 4 +x 3 +x+1 the status of each sector is saved and written to the buffer at the end of the sector. 7.3.3 s ub - code receive and q- channel extractor a uart which samples asynchronous bits on a 24 clocks per bit basis is included. this is required because the cd-60 based decoders output the sub-code data at nominally 24 clocks per bit, but not synchronized to the data. also included is a sub-code synchronization detector which senses the beginning of each new sector of sub-code information. the serial sub-code information is assembled into bytes in the following order: data bits 7 to 0 = 0, q, r, s, t, u, v and w. as each byte is assembled, it is sent to the buffer manager to be written to the dram buffer. at the same time, the q-channel bits are assembled into bytes and sent to the buffer. all q-channel bytes except crc are sorted in registers for use by the microcontroller. the q-channel crc (last two bytes) is checked just before the end of the sub-code sector. if the crc check fails, badq in rddstat is available to the microcontroller and is written into the buffer at the end of the sector.
1996 jul 02 12 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 when the ten q-channel registers have been updated, qfrmrdy in rddstat is set. the ten q-channel registers are valid while qfrmrdy is set. in the audio mode, hdrrdy in rddstat generates this interrupt, but the qfrmrdy bit will still be available as status to the microcontroller. 7.3.4 c- flag receiver the c-flag bits, or corrector flags, are also 24 data clocks long and reception of these bits is achieved using the same method as for the sub-code; in this event, the c-flag data is synchronized to the data. the difference is that only one bit is used; f1, the absolute time synchronization information. when in audio mode and enabred in fectl is set, receipt of f1 set will start the internal data clock after the next rising edge of word strobe (wsab) which is the left channel sample when the cd-60 decoder is programmed for eiaj audio format. when in audio mode, the q-channel information provides the msf address and the f1 flag provides the start of frame information; together these provide an absolute byte address on the disc. 7.3.5 s2b uart this uart is provided for communication with a second slave microcontroller. it is hard-wired for one start-bit, eight data bits, a parity bit and one stop bit. parity testing can be programmed to be either odd parity or even parity. parity error and over-run status are provided via pe and ovrrun in s2bstat. selectable baud rates of 31.25, 62.5 and 187.5 kbaud are available via s2bsel1 and s2bsel0 in brgsel. once the start-bit is found, the data sampling time does not adapt dynamically, therefore parity errors may occur depending on the baud rate selected. 7.3.6 spi uart this uart is provided for communication with a second slave microcontroller used in philips cd-r engines. 7.3.7 w atch - dog timer a pair of counters are included which output a 967 m s reset pulse to the entire chip and the sysres and sysres pins if the timer is not reset during the 212 ms time-out period. the watch-dog timer is reset by setting rwmd in fectl high then low. if rwmd is left high, the watch-dog function is disabled. 7.3.8 g lue l ogic (glic) the final block of logic in the front-end consists of: a programmable, linear pulse-width modulator for spindle-motor control; an address de-multiplexer for the address/data bus of the microcontroller; plus audio multiplexing and muting circuitry for full control of red book audio data to an external digital-to-analog converter (dac). 7.4 track descriptor block logic has been included to simplify the creation of the track descriptor block. this is achieved by allowing one frame to be repeated a selectable number of times. once this repeated pattern is complete, the normal data is then sent to the front-end.
1996 jul 02 13 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 7.5 buffer manager the buffer manager provides the arbitration for the different processes that wish to access the dram buffer. these processes include the front-end, microcontroller requests, cdb2 accesses, ecc accesses, host interface requests and dram refreshing. to manage a dram interface with up to four devices requesting access to the dram, the following priority scheme is used. the dram control logic will start an access on the next rising edge of the clock after a request is received. if two or more requests are pending then the priority is: 1. front-end (highest priority) 2. a refresh cycle (required every 15.6 m s) granted priority for one access 3. microcontroller requests 4. host interface requests 5. ecc requests (lowest priority). a burst access by ecc or host interface will only be interrupted by a higher priority access request. in addition to the priority logic, logic is required for the front-end sources of data. the priority is; cdb2 requests (highest) frame data, flag data, sub-code data, q-channel data and finally status byte. all front-end sources are granted priority over the host interface logic, ecc, refresh and data will be written into the frame store during the next cycle. however, the microcontroller has priority over the lower three front-end sources and will be granted an access after front-end frame data or flag data is written to memory. the required timing (see figs 4 to 11) operate with the industry standard 70 ns drams. the interface is designed to operate with 256 kbytes, 1 mbyte, and 4 mbytes of dram. a single byte access cycles requires five clock cycles of 29.5 ns each, totalling 147.5 ns. fig.4 byte mode single access read cycle. handbook, full pagewidth mge392 doe address row col data cas ras clock latch data
1996 jul 02 14 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 fig.5 byte mode single access write cycle. handbook, full pagewidth mge393 write address row col data data cas ras clock fig.6 ecc burst access read cycle. handbook, full pagewidth mge394 doe address row col1 col2 col3 col4 data cas ras clock latch latch latch
1996 jul 02 15 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 fig.7 ecc burst access write cycle. handbook, full pagewidth mge395 write address row col1 col2 col3 col4 data1 data2 data3 data4 data cas ras clock fig.8 host interface fast burst access read cycle (2 clocks). handbook, full pagewidth mge396 doe address row col1 col2 col3 col4 data cas ras clock latch data latch data latch data
1996 jul 02 16 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 fig.9 host interface fast burst access write cycle (2 clocks). handbook, full pagewidth mge397 write address row col1 col2 col3 col4 data1 data2 data3 data4 data cas ras clock fig.10 host interface standard burst access read cycle (3 clocks). handbook, full pagewidth mge520 doe address row col1 col2 col3 col4 data cas ras qc qb qa clock latch data latch data latch data
1996 jul 02 17 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 8 microcontroller interface 8.1 microprocessor interface status register table 1 num_cor register: 0xf08e; note 1 note 1. register 0xf08e indicates the number of corrections performed during the most recently executed correct_p_syndromes or correct_q_syndromes command. note that num_cor is only valid after completion of the correct_p_syndromes or correct_q_syndromes command, and becomes invalid upon execution of any other command. table 2 ecc_status register: 0xf086; note 1 note 1. register 0xf086 provides status information on the current or last ecc command. mnemonic r/w data byte 76543210 num_cor r num_cor7 to num_cor0 mnemonic r/w data byte 765 4 3 2 1 0 eccstat r --- flg_eq0 crc_eq0 ps_eq0 qs_eq0 ecc_act fig.11 host interface standard burst access write cycle (3 clocks). handbook, full pagewidth mge521 write address row col1 col2 col3 col4 data1 data2 data3 data4 data cas ras qc qb qa clock
1996 jul 02 18 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 table 3 eccstat de?nitions 8.2 microcontroller interface command register table 4 eccctl register: 0xf085; note 1 note 1. the ecc_command definitions are explained in table 5. table 5 de?nitions of ecc_command3 to ecc_command0 table 6 command descriptions mnemonic description ecc_act asserted while a command other than assert_abort or release_abort remains active qs_eq0 asserted when all q syndromes are zero ps_eq0 asserted when all p syndromes are zero crc_eq0 asserted when the crc remainder calculated by the crc_calculate command is all zeros flg_eq0 asserted when all ?ag bytes in ecc ram are zero mnemonic r/w data byte 7654 3210 eccctl r/w ---- ecc_command3 to ecc_command0 eec_command description 0000 assert_abort 0001 release_abort 0010 calculate_syndromes (not mode 2, form 1) 0011 calculate_syndromes (mode 2, form 1) 0100 crc_recalculate (not mode 2, form 1) 0101 crc_recalculate (mode 2, form 1) 0110 copy_results (not mode 2, form 1) 0111 copy_results (mode 2, form 1) 1000 correct_p_syndromes 1001 correct_q_syndromes 1100 test_ecc_rom 1101 test_ecc_ram_read 1110 test_ecc_ram_write command description assert_abort terminates any currently active operation and re-initializes the ecc logic. remains in reset state until occurrence of the release_abort command. at power-on reset, the ecc is in the assert_abort state. all microprocessor status bits are reset when the ecc is in the assert_abort state. release_abort terminates the assert_abort command and enables activation of other commands.
1996 jul 02 19 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 note 1. 16 : 2075 and 0 : 2067 are address frame offsets. the frame buffer organization is shown in table 76. crc_recalculate calculate crc remainder buffer data, storing result in ecc ram and updating microprocessor status bit crc_eq0. mode 2, form 1 uses address 16 : 2075, or 0 : 2067; note 1 calculate_syndrome s prepares buffer for correction, calculates p and q syndromes, and copies error ?ags and crc remainder from buffer to ecc ram. the microprocessor status bits ps_eq0, qs_eq0 and flags_eq0 are updated at the end of this operation. 1. copy header from buffer to ecc ram (mode 2, form 1 only) 2. write to the buffer. not mode 2, form 1: address 0 ? 0x00; address 1 : 10 ? 0xff; address 11 ? 0x00; address 2068 : 2075 ? 0x00 mode 2, form 1: address 0 ? 0x00; address 1 : 10 ? 0xff; address 11 : 15 ? 0x00 3. read header and frame data from buffer to calculate p and q syndromes psyn[0 : 85].s1, psyn[0 : 85].s0, qsyn[0 : 51].s1 and qsyn[0 : 51].s0, storing results in ecc ram 4. copy error ?ags from buffer to ecc ram 5. copy crc remainder from buffer to ecc ram 6. update microprocessor status bits ps_eq0, qs_eq0 and flags_eq0. copy_results copies current ecc ram contents to the buffer memory: 1. copy header ?ags from ecc ram to buffer (mode 2, form 1 only) 2. copy error flags from ecc ram to buffer 3. copy crc remainder from ecc ram to buffer 4. copy p syndromes from ecc ram to buffer 5. copy q syndromes from ecc ram to buffer. correct_p_syndrome s scan all p syndromes and perform p-syndrome calculation. the microprocessor status bits ps_eq0, qs_eq0 and flags_eq0 are updated at the end of this operation. correct_q_syndrome s scan all q syndromes and perform q-syndrome calculation. the microprocessor status bits ps_eq0, qs_eq0 and flags_eq0 are updated at the end of this operation. test_ecc_rom read each exponent and log in the alpha rom to the num_cor register. this command may only be terminated by the assert_abort command. test_ecc_ram_read read ecc ram addresses 0 : 591 and copy to buffer addresses 0 : 591. test_ecc_ram_write read buffer addresses 0 : 591 and copy to ecc ram addresses 0 : 591. command description
1996 jul 02 20 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 8.3 microprocessor interrupts an interrupts pulse is generated upon completion of any of the following commands: calculate_syndromes (not mode 2, form 1) calculate_syndromes (mode 2, form 1) crc_recalculate (not mode 2, form 1) crc_recalculate (mode 2, form 1) copy_results (not mode 2, form 1) copy_results (mode 2, form 1) correct_p_syndromes correct_q_syndromes test_ecc_rom test_ecc_ram_read test_ecc_ram_write. if a command is aborted by the assert_abort command, a spurious interrupt may be generated within five clock cycles of the assert_abort command. table 7 command execution times; note 1 note 1. all times indicated reflect two clock cycles per memory access for all accesses other than p and q corrections. p and q corrections reflect seven clock cycles per memory access. execution times will be extended due to refresh timing, other buffer traffic, and configuration of nibble-wide memory. 8.3.1 i nterrupt register definitions two registers are used to control the operation of the interrupt logic. the register intrmsk allows each interrupt to be enabled or disabled. intrmsk and intrflg are cleared on reset to initially disable and clear all interrupts; the output latch controlling the int line is set on a reset; this must be cleared by writing 0x00 to intrflg. to enable an interrupt, the bit that corresponds to the interrupt in intrflg must be set. the intrflg register shows the status of the interrupts. if any bit is high then an interrupt has occurred since the last time the bit was cleared. writing a zero to any command cycles time ( m s) at 33 mhz memory accesses calculate_syndromes (not mode 2, form 1) 5604 186.8 2658 calculate_syndromes (mode 2, form 1) 5600 186.7 2654 crc_recalculate (not mode 2, form 1) 4136 137.9 2068 crc_recalculate (mode 2, form 1) 4120 137.3 2060 copy_results (not mode 2, form 1) 1148 38.3 574 copy_results (mode 2, form 1) 1156 38.5 578 correct_p_syndromes (maximum addition per correction) 1466 157 48.9 5.2 0 2 correct_q_syndromes (maximum addition per correction) 888 167 29.6 5.6 0 2 test_ecc_ram_read 1184 39.5 592 test_ecc_ram_write 1184 39.5 592
1996 jul 02 21 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 bit location in intrflg will clear the corresponding interrupt. if a masked interrupt occurs, the microcontroller can still detect the occurrence because the event is still posted in intrflg. table 8 interrupt mask register: 0xf0fb each bit in register 0xf0fb corresponds to the interrupt at the same bit location in register 0xf0fc. to enable an interrupt, the bit in this register must be set high. table 9 interrupt ?ag register: f0fc; note 1 note 1. if any bit is set in this register an interrupt is sent to the microcontroller. table 10 shows when the interrupts are asserted; assuming the corresponding mask bit is set. table 10 intrflg ?eld descriptions mnemonic r/w data byte 76543210 intrmsk r/w mask7 mask6 mask5 mask4 mask3 mask2 mask1 mask0 mnemonic r/w data byte 765 4 321 0 intrflg r/w cdb2int fetxint ferxint ecc_cor fe_hdr fe2352 str_lst frm_str field description frm_str set one when one complete frame is stored str_lst set at the start of the last frame fe_2352 set if the front-end data exceeds 2352 bytes fe_hdr front-end interrupt for header (or q channel) ready ecc_cor ecc interrupt for correction complete rferxint front-end interrupt for receive ready fetxint front-end interrupt for transmit ready cdb2int cdb2 interrupts: see cstat (table 78) for bit descriptions 8.4 microcontroller ram organization micfrm# is used to determine the frame address for the microcontroller access through the frame window 0x8000 to 0x8fff. to obtain the actual byte location within the buffer ram, the lower 12 bits of the microcontroller address form the relative offset and hence the absolute address is found. note that the microcontroller has the option of addressing memory in a linear fashion using the 32 kbytes address space between 0x000 and 0x7fff. if this 32 kbytes page is used, the pagereg must be programmed with the required page address. pagereg is used to select the required page when the microcontroller makes a linear access to the buffer memory using the address space 0x7000 to 0x7fff. the actual address is the fifteen lsbs from the microcontroller plus 32768 times the value in pagereg.
1996 jul 02 22 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 table 11 microcontroller frame number address registers: 0xf0f6 and 0xf0f7; note 1 note 1. registers 0xf0f6 and 0xf0f7 provide the frame number address for the microcontroller access to memory. the counter associated with these registers is loaded after the most significant byte is written; the least significant byte must be written first to ensure that the counter is loaded correctly. if a dram access is in progress that uses the address from the counter, the update will be delayed until the access is complete. table 12 microcontroller address page register: 0xf0ff; note 1 note 1. register 0xf0ff is used by the buffer manager for the upper address lines when the microcontroller addresses non-frame memory. these registers overlap frame memory, so register 0xf0ff must be programmed with an address in the top part of the memory if no overlap is required. the microcontroller page address line is selected from this register. the outputs are used directly to control dram access cycles, and will affect any current dram cycle in progress. mnemonic r/w data byte 76543210 micfrm# r/w frame7 frame6 frame5 frame4 frame3 frame2 frame1 frame0 micfrm# r/w ----- frame10 frame9 frame8 mnemonic r/w data byte 76 5 43210 pagereg r/w - ma_21 ma_20 ma_19 ma_18 ma_17 ma_16 ma_15 it is possible to access three contiguous frames from the microcontroller by reading the three data sector windows, 0x8000 to 0x8fff, 0x9000 to 0x9fff and 0xa000 to 0xafff. this function is required for the decoding of the sub-code information. if the next frame wraps past the last frame pointer (lastfrm) then the pointers are modified to wrap back to the start pointer onwards (fefrm#); this section is transparent to the microcontroller.
1996 jul 02 23 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 table 13 SAA7390 address map details for the 80c32 address function 0000 to 7fff this 32 kbytes window is used to address and portion the dram buffer. it is intended for non-frame mapped memory to be addressed through this window. the upper page address bits (to address the full range of the dram buffer) are set by the linear address page register (pagereg). 8000 to 8fff all accesses to frame memory use this window to read or write to the buffer memory. the actual address to the dram buffer is micro frame number (micfrm#) times 3 k plus the 12 lsbs from the 80c32. 9000 to 9fff this frame window is identical to the frame 0 window with the exception that one is added to the value from the micro frame number (micfrm#). a000-afff this frame window is identical to the frame 0 window with the exception that two is added to the value from the micro frame number (micfrm#). b000-efff not used; output 3-state. f000-ffff SAA7390 control registers. fig.12 address map for the microcontroller. handbook, halfpage mge522 0000 7fff 8000 9000 a000 afff ffff f000 80c32 scratch pad ram data sector window (frame 0) data sector window (frame 1) data sector window (frame 2) SAA7390 control registers
1996 jul 02 24 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 9 front panel and miscellaneous control signals this chapter describes the various SAA7390 control signals; front panel and basic engine signals, jumper settings and use of the general purpose signals. table 14 start clock doubler: 0xf091 a write of any value to this address will engage the clock doubler. the state of the doubler may be obtained by reading c_34_16 in brgsel (see table 26). if this bit is set then the clock doubler is engaged. on power-on, the clock doubler is disabled. once the clock doubler is engaged, it can only be reset by one of the reset sources; a power-on reset, an scsi reset or a reset from the watch-dog timer. the clock doubler must not be engaged when a 34.8688 mhz clock is connected to oscin (pin 120). table 15 general logic control register: 0xf0b9; note 1 note 1. register 0xf0b9 controls the audio mixing, the led and the pwm control. table 16 wtgctl ?eld descriptions table 17 drive switches register: 0xf0ba; note 1 note 1. register 0xf0ba is used for sensing the drive switches (note that the meaning of the switches is application specific). mnemonic r/w data byte 76543210 clksel w -------- mnemonic r/w data byte 76 5 4 3 2 1 0 wtgctl w -- pwmsel led la_mute ra_mute channel1 channel0 field logic description channels 00 mute 01 right data sent to both channels 10 left data sent to both channels 11 stereo ra_mute - right channel digital mute la_mute - left channel digital mute led - active low control for the light emitting diode pwmsel 0 cd decoder output (default); e.g. cd-60 moto1 output 1 pwm output mnemonic r/w data byte 76543210 rdsw r --- hfd volup voldn eject tra ysw
1996 jul 02 25 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 table 18 rdsw ?eld descriptions table 19 jumper status register: 0xf0c9; note 1 note 1. the bit fields for the jumpers are explained in table 21 (note that the meaning of the jumpers is application specific). table 20 rdjmprs ?eld descriptions table 21 general purpose bits: 0xf0c2; note 1 note 1. register 0xf0c2 controls the direction and output state of the general purpose i/o bits on the SAA7390. reading the gpio direction bits reflects the last value that was written to the register. the four gpio data bits shows the current value of the input signals in the input mode. in the output mode, the last value written to the output latches is that which is read back. field logic description tra ysw 0 tray position in 1 tray position out eject - user is requesting the drive tray to open (active low) voldn - user is requesting a decrease in volume (active low) volup - user is requesting an increase in volume (active low) hfd - high frequency detection; laser is on and focused (active low) mnemonic r/w data byte 76543210 rdjmprs r reserved (2 to 0) alo/pre paren scsiid2 scsiid1 scsiid0 field description scsiid scsi identity. installing pull-up shunts on the id selection jumpers (dd2 to dd) sets the respective scsi id bits high on de-assertion of reset. paren scsi bus parity enable. installing a pull-up shunt on dd3 sets this bit high on de-assertion of reset. the ?rmware should interpret this as scsi bus parity enable. alo/pre allow/prevent. installing a pull-up shunt on dd4 sets this bit high on de-assertion of reset. drive ?rmware interprets this as allowing access to media. mnemonic r/w data byte 76543210 gpioctl r/w gpdat4 gpdir4 gpdat3 gpdir3 gpdat2 gpdir2 gpdat1 gpdir1
1996 jul 02 26 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 table 22 gpioctl ?eld descriptions 9.1 s2b uart registers this section describes the registers used for the s2b uart control. table 23 s2b uart transmit, receive and status buffer: 0xf0a1, f0a2 and f0a3; note 1 note 1. wts2b is for the transmit data byte from the s2b uart and rds2b is for the receive data byte from the s2b uart. table 24 s2bstat ?eld descriptions field description gpdir1 general purpose bit direction control. default low puts gpio1 into the input mode, setting this high puts gpio1 in output mode. gpdat1 gpio1 data bit. gpdir2 general purpose bit direction control. default low puts gpio2 into the input mode, setting this high puts gpio2 in output mode. gpdat2 gpio2 data bit. gpdir3 general purpose bit direction control. default low puts gpio3 into the input mode, setting this high puts gpio3 in output mode. gpdat3 gpio3 data bit. gpdir4 general purpose bit direction control. default low puts gpio4 into the input mode, setting this high puts gpio4 in output mode. gpdat4 gpio4 data bit. mnemonic r/w data byte 76543210 wts2b w data7 data6 data5 data4 data3 data2 data1 data0 rds2b r data7 data6 data5 data4 data3 data2 data1 data0 s2bstat r ---- txdrdy pe ovrrun rxdrdy field description rxdrdy logic 1 indicates that the receive data is valid ovrrun logic 1 indicates that the data in the receive buffer was not read before it was over written by the next byte pe logic 1 indicates that a parity error was detected in the receive data byte; this is usually caused by the wrong baud rate txdrdy logic 1 indicates that the transmit data buffer is empty and ready for another byte
1996 jul 02 27 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 table 25 baud rate generator control: 0xf0c0; note 1 note 1. register 0xf0c0 controls the s2b uart baud rate and selective inversion of the sub-code information. control over the parity and the clock doubler is also included together with the ability to invert the sub-code and q-channel information. table 26 brgsel ?eld descriptions 9.2 spi uart registers this section describes the registers used for spi control. table 27 serial communication control: 0xf0f1; note 1 note 1. register 0xf0f1 selects and reports the signals and edges of interrupts required to control the basic engine. the least significant four bits perform the selection and are read/write. if both the rising and falling edges are set then both signal edges cause interrupts. if both rising and falling edges are cleared then neither edge will cause an interrupt. the most significant four bits report which edge of which signal caused the interrupt and are read-only; the interrupt generated by these bits is cleared by reading register 0xf0f1. mnemonic r/w data byte 76543210 brgsel r/w c_34_16 lock evenpar invsubc invq - s2bsel1 s2bsel0 field logic description s2bsel1 and s2bsel0 00 31.25 kbaud transfer rate 01 62.5 kbaud transfer rate 10 187.5 kbaud transfer rate 11 not speci?ed invq - inverts all q-channel information if set invsubc - inverts all sub-code information if set evenpar - selects even parity for s2b uart is set lock - read only information; indicates clock synthesizer is stable (after reset) and it is ready to set c_34_16 c_34_16 - once lock is high, asserting this bit engages the clock doubler mnemonic r/w data byte 76543210 sc_ctl r/w ssu_rep ssd_rep csu_rep csd_rep ssu_sel ssd_sel csu_sel csd_sel
1996 jul 02 28 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 table 28 uartctl ?eld descriptions table 29 SAA7390 to basic engine communication port: 0xf0c4; note 1 note 1. register 0xf0c4 provides a serial communication path to the basic engine processor. writing a byte to this register automatically clocks the bits to the other processor. as the bits shift out, a byte from the basic engine processor is shifted in. the bit rate is 2 mbits/s. handshake with the basic engine is accomplished with com_ack. 9.3 track descriptor block (tdb) generation a special mode has been included to support automatic tdb generation. basically, the host writes one frame of the tdb into the buffer and programs its address into tdb. then the number of frames to repeat this pattern is programmed in tdb_cnt. once this has been carried out, tdb_en in febmctl is set. when the frame counter equals the contents of tdb, the tdb frame will be repeated as many times as programmed by tdb_cnt. if more than 256 frames are required for the tdb, tdb_cnt can be read back and re-programmed with a new value. this action must be carried out as soon as possible after an end-of-frame to prevent the count value from being corrupted. table 30 track descriptor block count: 0xf08f; note 1 note 1. the loadable down counter holds the tdb frame count. tdb_cnt can be read while a tdb is being sent to the cdb2 and may be re-written with a new value to extend the length of the tdb beyond 256 frames; which should be carried out as soon as possible after an end-of-frame. field description csd_sel elects com_sync falling edge when set csu_sel selects com_sync rising edge when set ssd_sel selects sys_sync falling edge when set ssu_sel selects sys_sync rising edge when set csd_rep reports com_sync falling edge when set csu_rep reports com_sync rising edge when set ssd_rep reports sys_sync falling edge when set ssu_rep reports sys_sync rising edge when set mnemonic r/w data byte 76543210 sercom r/w data7 data6 data5 data4 data3 data2 data1 data0 mnemonic r/w data byte 76543210 tdb_cnt r/w tdb count 7 to tdb count 0
1996 jul 02 29 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 table 31 track descriptor block address: 0xf096 and 0xf097; note 1 note 1. registers 0xf096 and 0xf097 contain the frame address of the tdb. when the buffer manager frame count equals the contents of this register and the tdb_en bit is set in bmfectl, the frame counter will not be allowed to increment until tdb_cnt equals zero. 9.4 miscellaneous control registers table 32 host interface direction and audio mode control: 0xf0c1; note 1 note 1. register 0xf0c1 controls the data path to the host interface and some audio functions. table 33 wtdir ?eld descriptions mnemonic r/w data byte 76543210 tdb r/w tdb address 7 to tdb address 0 tdb r/w ----- tdb address 10 to 8 mnemonic r/w data byte 7654321 0 wtdir r/w --- cbsb over4x bsb hostdir autostr field description autostr automatic store; default is off. when set high, the front-end will automatically begin storing data or audio when the contents of the header/q-channel registers equals the contents of the strtmin, strtsec and strtfrm registers. if a header/q-channel error occurs to invalidate the address, auto-store is inhibited. storing of data will continue until the contents of the stopcnt equals zero, at which time it will automatically stop. hostdir host direction; default low. this selects the microcontroller data path to the scsi interface. setting this high selects the buffer managers dma path. when using a 53cf92a, this should be set and left high since the microcontroller has a separate command path into the 53cf92a whereas the 53cf90b requires the buffer manager and microcontroller to share the same path. bsb byte swap bit. defaults to swapping the most signi?cant byte and least signi?cant byte in the audio mode such that the least signi?cant byte of all audio samples is stored at even addresses in the dram. setting this high causes the audio data to be stored in the same way as in the data mode. over4x 4 over-sampling bit selection; default low select transmit, or no over-sampling, mode for the sub-code and c-?ag uarts. setting this bit high will cause the sub-code and c-?ag data to be sampled at one quarter the data rate allowing q-channel information to be correctly stored in the registers while the cd-60 is outputting audio data at 4 over-sampling. cbsb cbd2 byte swap bit; default low allows data from the dram buffer to be sent to the cdb2 normally (data mode). when set high, the high byte and low byte are swapped since data from the host will be swapped. as a result, red book in the bypass mode will be correctly aligned.
1996 jul 02 30 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 table 34 scsi mode control register: 0xf0fd; note 1 note 1. register 0xf0fd controls the operation of the interface to the host interface controller. the outputs of these registers are used to directly control dram access cycles, and will affect any current dram cycle in progress. table 35 hostmod ?eld descriptions 10 front-end this chapter explains the information of the front-end circuitry. 10.1 minute-second frame addressing and header information table 36 header mode and msf from block decoder: 0xf092, f093, f09a and f09b; note 1 note 1. these registers contain the mode, minute, second and frame information from the header when in data mode. this data is valid whenever the hddrdy bit in the rddstat register is set. in audio mode, the msf address is taken from the q-channel information. mnemonic r/w data byte 76543210 hostmod r/w - selcf92 fast off_adr off_end off_str rd_buf byt/pag field logic description byt/pag 0 host interface dram byte mode access 1 host interface dram page mode access rd_buf 0 host interface read/write control; read from buffer memory 1 host interface read/write control; write to buffer memory off_str 0 host interface offset start a/b control; select a registers 1 host interface offset start a/b control; select b registers off_end 0 host interface offset end a/b control; select a registers 1 host interface offset end a/b control; select b registers off_adr 0 host interface transfers use only a registers 1 host interface transfers use a and b registers fast 0 3 cycles host interface burst accesses from buffer 1 2 cycles host interface burst accesses from buffer selcf92 0 dram timing optimized for 53cf90 1 dram timing optimized for 53cf92 mnemonic r/w data byte 76543210 hdrmode r mode7 to mode0 hdrmins r minutes7 to minutes0 hdrsec r seconds7 to seconds0 hdrfrm r frame7 to frame0
1996 jul 02 31 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 table 37 q-channel information: 0xf084, f094, f095, f0a9, f0aa, f0ab, f0b1, f0b2, f0cf and f0fa,; note 1 note 1. these registers contain the information taken from the raw sub-channel information from the cd decoder. due to the fact that this data has not had any error correction applied to it, it is necessary to perform a crc check for validity. twelve bytes of q-channel information are assembled from each sector of data; the last two bytes contain the crc parity. therefore the validity of the contents of these registers can only be determined after the last bit has been loaded and checked. mnemonic r/w data byte 76543210 qzero r zero7 to zero0 qtno r track7 to track0 qindx r index7 to index0 qmode r mode7 to mode0 qamin r absmin7 to absmin0 qasec r abssec7 to abssec0 qafrm r absfrm7 to absfrm0 qmin r relmin7 to relmin0 qsec r relsec7 to relsec0 qfrm r relfrm7 to relfrm0 table 38 times from qchrdy to badq (rddstat) for example, at the n = 4 data rate, the badq flag (in rddstat) should be checked 545 m s after the qfrmrdy interrupt (from rddstat) is asserted. if badq is low then the contents of the q-channel registers are valid; otherwise the crc check failed and the q-channel information may be incorrect. if the data clock is running (ecmd low or enabred high) then badq will be valid until the end of the sector; otherwise badq is valid until the end of the next q frame. speed time ( m s) n = 1 2177 n = 2 1089 n = 4 545 n = 6 363 n = 8 273
1996 jul 02 32 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 10.2 front-end status and control table 39 front-end control: 0xf0bb; note 1 note 1. register 0xf0bb controls the front-end of the SAA7390. the naming convention used here is similar to that used in the block decoders. table 40 fectl ?eld descriptions mnemonic r/w data byte 7654 3 2 1 0 fectl r/w sim_eof rsmd break rwmd enabred audmode synasyn ecmd field logic description ecmd 0 data is shifted in and stored when the next synchronization pattern is detected; ( synasyn = 1 and audmode = 0). 1 data ?ow stop just before next synchronization pattern. ecmd is set on a reset condition; ( synasyn = 1). synasyn synchronous/asynchronous selection; this controls the method by which data is started and stopped by the block decoder, only operates in data mode. 0 causes a panic stop. a partial frame will reside in current and subsequent buffers unless sim_eof is set then cleared; (ecmd = 1). 1 data is started and stopped on frame boundaries (on synchronization patterns). audmode 0 data mode. cleared on reset. 1 audio mode, where the bit clock is shifted to accommodate eiaj format. hqrdy in intrflg follows hdrrdy in data mode and qfrmdry in audio mode. enabred enable red book to data path; while in audio mode, this is equivalent to ecmd in the data mode. no asynchronous stop is provided in the audio mode. 0 data ?ow will stop when the next f1 c-?ag is detected. cleared on a reset condition. 1 red book data is input to buffer after the detection of the next f1 c-?ag. rwmd - this must be pulsed high then low every 212 ms to prevent the watch-dog timer from resetting the SAA7390 and the drive. the length of the reset pulse is 967 m s. if rwmd is set, the watch-dog timer is disabled. break - when set, the s2b uart transmitter output is held high. rsmd - when the pulse is high then low, the block decoder begins to search for a synchronization pattern in the data bitstream. once a synchronization pattern is found, mode, mins, secs, and frms become valid. sim_eof - this provides a ?rmware reset to the frame sequencer and parts of the buffer manager. this would be required if an asynchronous stop of the data stream occurs. pulsing this high then low resets all counters and establishes a beginning of frame state. dcoact in rddstat must be low to allow sim_eof to have any effect. if sim_eof is set, no data or sub-code is stored in the buffer.
1996 jul 02 33 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 table 41 read status register: 0xf0c3; note 1 note 1. the information in register 0xf0c3 is a copy of the status byte written to the data buffer at the end of every frame. syncerr, daterr and crcerr are essentially unusable since they are valid only long enough to be written to the buffer. table 42 rddstat ?eld descriptions mnemonic r/w data byte 7 6 5 432 1 0 rddstat r dcotact badq qfrmrdy hdrrdy hdrerr crcerr daterr syncerr field logic description syncerr 0 good synchronization detected (valid for 120 ns at the end of a sector). daterr 0 good data (valid for 120 ns at the end of a sector). crcerr 0 good crc (valid for 120 ns at the end of a sector). hdrerr 0 good header. if the automatic storage is selected, assertion of hdrerr inhibits data storage. 1 efab during reception of header (valid while hdrrdy set). if the automatic storage is selected, assertion of hdrerr inhibits data storage. hdrrdy - when set, a valid header is available. if the header is not read within a frame time, this remains set until the next synchronization pattern and will be set again when the next header arrives. it is cleared when any of the header bytes are read. this bit generates an interrupt to the microcontroller when in data mode. qfrmrdy - when set, all ten q-channel bytes are received waiting to be read (badq is known). it is reset at the end of frame or when any of the q-channel bytes are read. this bit generates an interrupt to the microcontroller when in audio mode. badq - if q-channel information failed crc then badq is set. it is reset on next good crc check or on end of frame if dcoact is running. if dcoact is not running (i.e. audio mode) badq is reset on next detection of sub-code gap. if autostr in wtdir is selected, assertion of badq inhibits audio data storage. dcotact - set when data is being shifted an and stored in the buffer: this will remain high for the entire transmission.
1996 jul 02 34 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 11 buffer manager 11.1 front-end to buffer manager interface the buffer manager interface to the front-end is write only with no handshaking. the front-end passes one byte of data and a write strobe to the buffer manager; this byte will be one of five types of data (see table 44). the data byte is latched and the interface is given the highest priority thus no wait signal is required. the other signals passed from the front-end logic are an end-of-frame strobe (which is the same as the status byte write strobe), a software-generated reset pulse (used to reset the front-end counters), and a reset pulse for the q-channel and sub-code offset counters. the buffer manager provides the remainder of the logic to write the data into the ram and keep track of the frame addresses and offset addresses. this logic consists of a 12-bit frame offset counter feoff, for data and an 11-bit frame counter; this is a relative frame number and is not related to the cd-rom frame number. offset counters are also provided for the four other types of data. the other offset address generators are based on fixed addresses, and they will be loaded with the start address at the beginning of each frame. the five types of data from the front-end are loaded into the frame map as shown in table 44. table 43 data types from the front-end start end length data type 0x000 0x92f 0x930 header, data and parity 0x930 0x93f 0x010 q-channel 0x940 0x99f 0x060 sub-channel 0x9a0 0xac5 0x126 error ?ags 0xbde 0xbde 0x001 status byte initially the front-end frame counter and all of the offset counters are cleared by reset or loaded with the contents of fefrm# when the last frame as specified by lastfrm is filled; therefore fefrm# should be loaded with the required starting frame number. fefrm# will load the counter immediately if fewblk from bmfectl is clear. if tdb_en in bmfeclt is set then one frame may be read multiple times from memory; tdb selects the frame to be read and tdb_cnt determines the number of times the frame will be repeated. when this process is active, the frame counter will not increment until tdb_cnt reaches zero. lastfrm establishes the limit of the frame memory. this register should be loaded with the required number of frames; the amount of memory used is 3 kbytes times the number of frames. the front-end frame address counter uses this value to determine the correct location to re-load the counter to the starting frame number, fefrm#. the frame counter and the frame data offset counter may be loaded by the microcontroller; this allows the starting frame number (via fefrm#) to be modified by the microcontroller, and the frame data offset counter (fefrmoff) may be loaded for test purposes. once the data load process starts, the offset counter (feoff) increments after each byte is written into memory. this process continues until an end-of-frame signal is received from the front-end logic. if an error occurs and the offset counter increments past the maximum 2352, an interrupt will be issued to the microcontroller.
1996 jul 02 35 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 table 44 front-end frame offset: 0xf0e2, f0e3; note 1 note 1. this register allows the front-end frame offset counter to be read and reloaded. the counter associated with these registers is loaded after the most significant byte is written; the least significant byte must be written first to ensure that the counter is loaded correctly. if a dram access is in progress that uses the address from the counter, the update will be delayed until the access is complete. table 45 front-end offset counter: 0xf09e, 0xf09f; note 1 note 1. these registers access the actual counter for the front-end offset counter and therefore change rapidly during a transfer. the front-end frame offset counter is cleared after reset and after each frame is loaded into the buffer memory. therefore, fefrmoff should not be loaded during normal operation. table 46 front-end offset counter: 0xf0e4, 0xf0e5; note 1 note 1. this register allows the front-end frame number counter to be read and reloaded. the counter associated with these registers is loaded after the most significant byte is written; the least significant byte must be written first to ensure that the counter is loaded correctly. if a dram access is in progress that uses the address from the counter, the update will be delayed until the access is completed. table 47 last frame number for storage: 0xf0f8, f0f9; note 1 note 1. these registers are used by the buffer manager to set the top of frame storage memory (wrap point). any memory past this point is available for general usage by the microcontroller. the outputs of the registers are used directly to control dram access cycles, and will affect any current dram cycle in progress. mnemonic r/w data byte 76543210 fefrmoff r/w offset7 to offset0 fefrmoff r/w ---- offset11 to offset8 mnemonic r/w data byte 76543210 feoff r/w offset7 to offset0 feoff r/w ---- offset11 to offset8 mnemonic r/w data byte 76543210 fefrm# r/w frame7 frame6 frame5 frame4 frame3 frame2 frame1 frame0 fefrm# r/w ----- frame10 to frame8 mnemonic r/w data byte 76543210 lastfrm r/w frame7 frame6 frame5 frame4 frame3 frame2 frame1 frame0 lastfrm r/w ----- frame10 to frame8
1996 jul 02 36 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 table 48 buffer manager front-end control: 0xf0e1 table 49 bmfectl ?eld descriptions mnemonic r/w data byte 76543210 bmfectl r/w ---- stop fewblk hw_blk tdb_en field logic description tdb_en - track descriptor block (tdb) enable; default low. when set, this causes the buffer manager to continuously output the frame addressed by tbdl/tdbh for as many frames as programmed into tdb_cnt. tdb_cnt can be read and re-initialized while the tdb is being sent to the cdb2 to extend the count beyond 256. hw_blk - host write block. if set high, this bit will prevent a write to the host start frame number register (hostsfrm) for immediately changing the host frame counter (hostcfrm). the new value will be loaded at the next roll-over; a roll-over occurs when the host frame counter reaches the maximum frame number (lasthost) and is reloaded with the host start frame number. fewblk - front-end write block. if set high, this bit will prevent a write to the front-end start frame number register (fefrm#) from immediately changing the front-end counter. the new value will be loaded at the next roll-over; a roll-over occurs when the front-end frame counter reaches the maximum frame number (lastfrm) and is reloaded with the front-end start frame number (fefrm#). stop 0 automatic start control registers are selected. 1 automatic stop control registers are selected. 11.2 microcontroller to buffer manager interface the microcontroller interface allows the microcontroller to read or write any register or the frame store memory. frame and offset registers are used to update the counters after the most significant byte has been loaded. frame store memory is addressed using a frame number register controller by the microcontroller. logic is provided to allow the frame number of the last complete frame received (lstcmpfm) from the front-end to be read by the microcontroller for the purpose of setting the microcontroller frame address. memory beyond the last frame number is available to the microcontroller using the microcontroller bottom 32 kbytes located at 0x0000 to 0x7fff. the 4 kbytes segment at 0x8000 to 0x8fff is used to address the current frame memory. also, the next frame may be accessed at 0x9000 to 0x9fff, and the current frame plus 2 may be accessed at 0xa000 to 0xafff. a page register is provided to allow the microcontroller to address the complete memory range in 32 kbytes pages. all microcontroller accesses to memory are single byte read or write cycles. all microcontroller accesses to memory will generate a wait state. if no other accesses to memory are in progress then a minimum wait state cycle will be generated. if, however, other cycles are in progress then the microcontroller is forced to wait until the lower priority access cycles finish and any high priority access cycles are completed. the worst case wait is four complete access cycles; a total of 20 clock cycles.
1996 jul 02 37 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 table 50 last complete frame number: 0xf0e6, f0e7; note 1 note 1. this register provides the address of the last complete frame that was received. 11.3 ecc to buffer manager interface the ecc logic is able to access the buffer manager frame memory in either byte or burst mode. the ecc logic provides an offset address and uses a frame address programmed by the microcontroller, eccfrm#. the logic can write a single byte or variable number of bytes. in the event of an access to a variable number of bytes, the ecc logic will assert the signal burst and ereq to indicate that a large number of cycles are requested. for each read or write cycle, the buffer manager will toggle eack high for one clock cycle to indicate that one byte of data has been read from or written to the memory. a single byte cycle will be the same with the exception that burst will remain negated (low). in the event of a higher priority memory access request during a burst cycle, eack will remain low for the duration of the higher priority access cycle. at the end of the higher priority access, the burst cycle will resume and eack will again toggle high after each read or write is completed. table 51 ecc frame number address registers: 0xf0f4, f0f5; note 1 note 1. these registers provide the frame number address for ecc access to memory. the counter associated with these registers is loaded after the most significant byte is written; the least significant byte must be written first to ensure that the counter is loaded correctly. if a dram access is in progress that uses the address from the counter, the update will be delayed until the access is completed. mnemonic r/w data byte 76543210 lstcmpfm r frame7 frame6 frame5 frame4 frame3 frame2 frame1 frame0 lstcmpfm r ----- frame10 to frame8 mnemonic r/w data byte 76543210 eccfrm# r/w frame7 frame6 frame5 frame4 frame3 frame2 frame1 frame0 eccfrm# r/w ----- frame10 to frame8 eccfrm# is used to determine the frame address for all ecc operations. this register must be reloaded for each frame accessed by the ecc. 11.4 scsi to buffer manager interface the host interface registers should be loaded prior to starting an host interface transfer. the hostmod register should be loaded first. byt/pag and fast from this register are used to control the type of dram access used by the host interface. if byt/pag is high then burst mode access cycles are selected; multiple cas access cycles are used to access data as fast as possible. fast allows the speed of the burst cycle to be selected; for most host controllers this bit is set low to select three clocks per cas cycle. for faster host access, fast should be asserted and the host burst cycle uses two clocks per cas cycle. rd_buf from hostmod controls the direction of data flow to the buffer memory; this bit is kept low to allow reading of data from the dram buffer. if rd_buf is asserted then host data will be written to the dram buffer. off_adr from hostmod is used to select between one and two offset mode for the host transfer. off_adr low selects single offset mode in which one block of data is transferred for each frame of the buffer.
1996 jul 02 38 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 the transfer block is specified by registers hostoffs and hostoffe. for each frame, the transfer will start at the address specified by hostoffs and continue until the address specified by hostoffe is transferred. after each block is transferred, the frame address hostcfrm will be incremented and the transfer will continue with the same address block from the next frame. if off_adr is set, then two blocks of data are transferred. in the two offset mode, both hostoffs and hostoffe are used to access two independent register pairs; for simplicity, these are called the a registers and the b registers. in this event, the transfer for each frame is a two step process. first, the offset block specified by hostoffs-a and hostoffe-a is transferred; the transfer address range is from hostoffs-a to hostoffe-a and includes both the start and end addresses. after the first offset block is transferred, the second offset block as specified by hostoffs-b and hostoffe-b is transferred. the frame address will not be incremented until after both offset blocks are transferred. once both offset blocks are transferred, the frame address is incremented and again the two offset blocks are transferred for the next frame. reading and writing of the a and the b registers is controlled by an automatic switching after the most significant bytes of the registers are written. after power-up or reset the pointer to the a registers will be selected. if the dual offset mode is selected, the a/b switch will be toggled when the most significant bytes of the registers are written; either the most significant bytes of hostoffs or hostoffe. any future reads or writes will access the b registers. the process of loading and reading the two host offset address pairs can be monitored and controlled by off_str and off_end from hostmod. reading off_str shows the status of the a/b switch for the hostoffs-a/b registers; reading off_end shows the status of the a/b switch for the hostoffe-a/b registers. a write to hostmod with off_str low will clear the a/b switch for the hostoffs registers; a write to hostmod with off_end low will clear the a/b switch for the hostoffe registers. hostsfrm is used to determine the starting frame address for all host operations. the associated counter is automatically incremented after each frame, and wraps back onto hostsfrm when the last frame as specified by lstfhost is transferred. to update the host frame address counter, hostsfrm must be rewritten. the current host frame address is available by reading hostcfrm. the scsioffs registers access either one or two register pairs as controlled by scsimod. scsioffs determines the starting offset address for a host transfer. the scsioffe register accesses either one or two register pairs as controlled by scsimod. scsioffe determines the ending offset address for a host transfer. remarks : if two offset pairs are used, the a start offset must be written last to ensure that the correct offset start address is loaded into the counter. in the two offset mode, reading the register after loading is not possible due to the automatic switching feature; if the a offset pair is written, and the register pair is read, the b offset pair would be read. table 52 host interface offset counter: 0xf09c, f09d; note 1 note 1. these addresses access the actual counter of the host interface offset counter and therefore rapidly change during host interface transfers. mnemonic r/w data byte 76543210 hoff r/w offset7 to offset0 hoff r/w ---- offset11 to offset8
1996 jul 02 39 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 table 53 host interface offset start register (a and b): 0xf0e8, f0e9; note 1 note 1. these registers, together with the offset end registers, allow full control over the number of frame bytes that will be transferred to the host interface port. table 54 host interface offset end register (a and b): 0xf0ea, f0eb; note 1 note 1. these registers together with the offset start registers, allow full control over the number of frame bytes that will be transferred to the host interface port. table 55 host interface transfer start frame number: 0xf0ec, f0ed; note 1 note 1. this register determines the starting frame number for a host interface transfer. the outputs of the registers are used to directly control dram access cycles, and will affect any current dram cycle in progress. the host interface frame pointer will wrap back to this point. table 56 host interface current transfer frame: 0xf0ee, f0ef; note 1 note 1. this register allows the current host interface frame transfer number to be read. mnemonic r/w data byte 76543210 hostoffs r/w offset7 to offset0 hostoffs r/w ---- offset11 to offset8 mnemonic r/w data byte 76543210 hostoffe r/w offset7 to offset0 hostoffe r/w ---- offset11 to offset8 mnemonic r/w data byte 76543210 hostsfrm r/w frame7 frame6 frame5 frame4 frame3 frame2 frame1 frame0 hostsfrm r/w ----- frame10 to frame8 mnemonic r/w data byte 76543210 hostcfrm r frame7 frame6 frame5 frame4 frame3 frame2 frame1 frame0 hostcfrm r ----- frame10 to frame8
1996 jul 02 40 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 table 57 ending frame number: 0xf0f2, f0f3 11.5 miscellaneous buffer manager considerations the following bandwidth limitation must be observed in normal operation: only 833 ns is available between each data write from the front-end at the maximum 8 times transfer rate. at the end of the frame, multiple front-end writes may stack up, so the microcontroller accesses to dram will be off (pclk stopped) during the end of frame time. after power-up or reset, the register dramsel should be programmed first. table 58 selection/test mode: 0xf0fe; note 1 note 1. dramsel1 and dramsel0 are used to select the type of dram which is connected to the SAA7390. the test modes are also defined by the dramsel register. table 59 dramsel ?eld descriptions mnemonic r/w data byte 76543210 lstfhost r/w frame7 frame6 frame5 frame4 frame3 frame2 frame1 frame0 lstfhost r/w ----- frame10 to frame8 mnemonic r/w data byte 7654 3 2 1 0 dramsel r/w test res_test2 to res_test0 refrate dramsel1 dramsel0 - field logic description dramsel1 dramsel0 00 256 kbytes 01 1 mbyte 10 not applicable 11 4 mbytes refrate 0 normal refresh rate 1 double refresh rate; set high if clock is running at 1 2 normal rate, or 16.9 mhz res_test0 - reserved for test; setting this high enables the dram access test, a write to intrmsk sets a front-end access test, and a write to pagereg sets a test ecc access res_test1 - reserved for test; setting this high enables the switch multiplexer control res_test2 - reserved for test; setting this high enables the interrupt test, a write to pagereg will set interrupts test - test mode; this bit must be set to enable the test modes, also, read back of any of the test bits is gated by this bit
1996 jul 02 41 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 table 60 automatic start and stop control functions (same address): 0xf0c5, f0c6 and f0c7 mnemonic r/w data byte 76543210 strtmin r/w minute7 to minute0 strtsec r/w second7 to second0 strtfrm r/w frame7 to frame0 stopcnt r/w count7 to count0 stopcnt r/w ----- count10 to count8 the multiplexing between the start and stop registers is achieved by programming stop in bmfectl. if stop is clear then strtmin, strtsec and strtfrm are accessible, otherwise stopcnt may be accessed. these registers contain the start address (msf) and the stop count for the automatic read control function. when the block decoders header or registers equal the start address, the front-end will start to send data to the buffer manager until the down counter stopcnt decrements to zero, at which time the data flow stops. the header registers are selected then audmode in fectl is low, otherwise the q registers are selected; the latter event is used for loading audio data. the start registers are selected when fewblk in bmfeclt is low, otherwise the stopcnt registers are selected. the start registers should be programmed to header 1. if efab (c2 failure) is asserted while the header is shifting in, the data flow will not start. the same is true for badq (q channel crc failure) used in the audio mode. 11.6 host interface related registers the SAA7390 provides a 16 address wide pass through mechanism to communicate to an external scsi or atapi interface device. supported devices include the 53cf9x series of scsi controllers and the wapiti atapi controller. the register definitions for the external device can be found in the corresponding data sheet. in the 53cf9x series of scsi controllers, some registers are read only and others are write only. these share the same address and the multiplexing between the two depends on the read or write select. the address mapping is: 0xf0a4 to 0xf0a7, 0xf0ac to 0xf0af, 0xf0b4 to 0xf0b7, 0xf0bc to 0xf0bf maps onto the external interface device address range 0x00 to 0x0f respectively. 11.7 cdb2 related registers this section outlines the registers which are related to the modified cdb2 block encoder. figure 13 shows a functional block diagram for the cdb2. figure 14 explains the generation of header and sub-header information.
1996 jul 02 42 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 fig.13 functional block diagram for the cdb2. handbook, full pagewidth microcontroller interface microcontroller access error correction code generation rom ram scrambler data cource mgd620 i 2 s output byte swap and i 2 s interface timer and control logic error detection code generation data interface block counter and header generation handbook, full pagewidth microcontroller interface cmd registers registers registers registers registers registers data bcm output mgd621 sts bch bcl bch bcl min sec min sec frm mode mux frm filn chan subm dtyp fig.14 generation of the header and sub-header information.
1996 jul 02 43 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 table 61 interrupt mask register: 0xf0ce; note 1 note 1. register 0xf0ce contains the mask bits for the various SAA7390 specific interrupts. setting a mask bit high enables the interrupt. the register is cleared to all zeros after reset. the definitions of the bit fields of cmsk are given in table .63. table 62 cmsk ?eld descriptions table 63 command register: 0xf0d1 mnemonic r/w data byte 765 4 3210 cmsk r/w -- eofmsk com_sys ackint hef aca lbt field description lbt block counter equals zero aca access allowed hef dma to cdb2 under-run ackint interrupt from serial communication with basic engine com_sys comsync/syssync clock interrupt eofmsk end of frame interrupt generated by cdb2 when writing to the disc in audio or data mode mnemonic r/w data byte 76543210 ccmd r/w srs bpe act drq nhd cdi sbh ed2
1996 jul 02 44 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 table 64 ccmd ?eld descriptions notes 1. only has effect in cdi mode. 2. latched on rising edge of aca. table 65 status register: 0xf0d2 field logic description ed2 0 no edc in cdi, form 2; zeros replace crc; note 1 1 edc is performed in cdi, form 2; note 1 sbh 0 sub-header retrieved from sub-header register; note 2 1 sub-header retrieved from host data; note 2 cdi 0 cd-rom mode; note 2 1 cdi mode; note 2 nhd 0 header calculated internally; note 2 1 header supplied by host; note 2 drq 0 requests to host are enabled; note 2 1 requests to host are disabled; this is now synchronous with the end-of-frame signal; note 2 act 0 continue transmission; note 2 1 stop transmission during next block; note 2 bpe 0 bypass disabled; note 2 1 bypass enabled; this is now synchronous with the end-of-frame signal; note 2 srs 0 normal operation 1 soft reset to cdb2 mnemonic r/w data byte 76543210 csts r att hef lbt aca rdy nrq sar -
1996 jul 02 45 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 table 66 csts ?eld descriptions notes 1. normally nrq is low during synchronization, header and edc/ecc transmission. 2. rdy is set after command bit act is pulled low. 3. this is a fatal error which can be recti?ed only by restarting cdb2. 4. interrupt sources are aca = logic 1, lbt = logic 0 and hef = logic 1. table 67 block count registers: 0xf0d3 and 0xf0d4; note 1 note 1. this is a 16-bit down counter which should be programmed with the; number of blocks - 1. as soon as the count value reaches zero, lbt is cleared and att is pulled low. lbt remains active for 13.3 ms at single speed record. note that the counter continue to decrement. new programmed information is used at the start of the next block. table 68 header containing msf address and mode: 0xf0d5, f0d6, f0d7 and f0db field logic description sar 0 status not ready yet during this block; sar cleared on each new block 1 status already read nrq (1) 0 no request to host will be issued 1 requests to host will be issued rdy (2) 0 data block transmission is in progress 1 data transmission is ceased aca 0 access to cdb2 is denied 1 access to cdb2 is allowed lbt 0 state of block counter has reached zero 1 block counter is non zero hef 0 no error has occurred during communication with the host 1 an error has occurred in the host communication process; note 3 att (4) 0 interrupt to microcontroller is asserted 1 no pending interrupts mnemonic r/w data byte 76543210 cbcl r/w blockcount7 to blockcount0 cbch r/w blockcount15 to blockcount8 mnemonic r/w data byte 76543210 cmde r/w ------ mode1 mode0 cmin r/w minutes7 to minutes0 csec r/w seconds7 to seconds0 cfrm r/w frame7 to frame0
1996 jul 02 46 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 automatic header generation is implemented in the cdb2. once the initial header value is loaded, the header is incremented and added to the user data in accordance with the yellow book rules. when the information is written into the header registers, this is used by the cdb2 at the start of the next frame. mode1 and mode0 specifies the cd-rom mode used, even when nhd = logic 1. table 69 sub-header information ?elds: 0xf0dc, f0dd, f0de and f0df; note 1 note 1. these form the cdb2 sub-header information, comprising of the file number, channel, mode and data type. table 70 test register for cdb2: 0xf0d8; note 1 note 1. this register is strictly for use by the manufacturer. setting any bits will result in undefined operation. table 71 control register for cdb2: 0xf0d9 mnemonic r/w data byte 76543210 cfn r/w filenumber7 to filenumber0 cchan r/w channel7 to channel0 csmd r/w submode7 to submode0 cdtb r/w datatype7 to datatype0 mnemonic r/w data byte 765 4 3 2 10 ctst w -- syn_pd s_cpsel s_fdbk s_outen test1 test0 mnemonic r/w data byte 76 5 432 1 0 cctl r/w hstsh hsh cdb2ecc --- 0 rsta
1996 jul 02 47 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 table 72 cctl ?eld descriptions table 73 status register for cdb2: 0xf0da table 74 cctl ?eld descriptions field logic description rsta to reset cdb2, ?rst set rsta high then low cdb2ecc when set, enables the ecc ram to be used by the cdb2 during encoding of ecc parity hsh (1) 0 header supplied from cdb2 1 header supplied by host hstsh (2) 0 sub-header supplied from cdb2 1 sub-header supplied by host mnemonic r/w data byte 7 6 5 4321 0 cstat r com/sys comsync syssync ackint comack -- eofcdb2 field description eofcdb2 end of frame interrupt from cdb2; generated in both bypass and cd-rom modes comack acknowledge signal from the basic engine indicating reception of a byte in its register. the high-to-low transition of this signal indicates ready to receive and generates an interrupt to the microcontroller. ackint indicates a high-to-low transition on comack; this status is not affected by masking bits syssync one of the serial synchronization signals comsync one of the serial synchronization signals com/sys combination of the syssync and comsync interrupts; control of selection is via sc_ctl
1996 jul 02 48 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 12 frame buffer organization the break-down of the 3 kbytes frame buffer is described in this section. table 75 frame buffer organization table 76 ecc ram organization decimal hexadecimal data start end len start end len 0 11 12 000 00b 00c synchronization ?eld 12 15 4 00c 00f 004 header 16 2063 2048 010 80f 800 frame data 2064 2067 4 810 813 004 crc parity 2068 2075 8 814 81b 008 padding 2076 2247 172 81c 8c7 0ac p parity 2248 2351 104 8c8 92f 068 q parity 2352 2367 16 930 93f 010 q channel 2368 2463 96 940 99f 060 sub-channel 2464 2757 294 9a0 ac5 126 error ?ags 2758 2761 4 ac6 ac9 004 crc remainder 2762 2933 172 aca b75 0ac p syndromes 2934 3037 104 b76 bdd 068 q syndromes 3038 3038 1 bde bde 001 status dec hex byte number 3210 000 000 psyn[00].s1 psyn[00].s0 qsyn[00].s1 qsyn[00].s0 204 0cc psyn[51].s1 psyn[51].s0 qsyn[51].s1 qsyn[51].s0 208 0d0 psyn[52].s1 psyn[52].s0 ?ags[001] ?ags[000] 340 154 psyn[85].s1 psyn[85].s0 ?ags[067] ?ags[066] 344 158 ?ags[071] ?age[070] ?ags[069] ?ags[068] 564 234 ?ags[291] ?age[290] ?ags[289] ?ags[288] 568 238 unused[1] unused[0] ?ags[293] ?ags[292] 572 23c crc_rem[3] crc_rem[2] crc_rem[1] crc_rem[0] 576 240 header[3] header[2] header[1] header[0] 580 244 ecc_reg[03] ecc_reg[02] ecc_reg[01] ecc_reg[00] 584 248 ecc_reg[07] ecc_reg[06] ecc_reg[05] ecc_reg[04] 588 588 ecc_reg[11] ecc_reg[10] ecc_reg[09] ecc_reg[08]
1996 jul 02 49 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 13 summary of control register map table 77 control register map for the SAA7390 address mnemonic read/write description f084 qzero r q channel zero byte f085 eccctl r/w ecc control register f086 eccstat r ecc status register f08e num_cor r ecc register for the number of corrections f08f tdb_cnt r/w track descriptor count f091 clksel w start the clock synthesizer (doubler) f092 hdrmode r header mode byte from block decoder f093 hdrfrm r header frame byte from block decoder f094 qfrm r q channel frame (track relative) f095 qmin r q channel minutes (track relative) f096 tdb r/w track descriptor block frame number low f097 tdb r/w track descriptor block frame number high f09a hdrsec r header seconds byte from block decoder f09b hdrmin r header minutes byte from block decoder f09c hoff r host interface offset register low f09d hoff r host interface offset register high f09e feoff r front-end offset register low f09f feoff r front-end offset register high f0a1 wts2b w s2b uart transmit buffer f0a2 rds2b r s2b uart receive buffer f0a3 s2bstat r s2b uart status register f0a4 hostpass r/w interface device pass through register address 0x00 f0a5 hostpass r/w interface device pass through register address 0x01 f0a6 hostpass r/w interface device pass through register address 0x02 f0a7 hostpass r/w interface device pass through register address 0x03 f0a9 qtno r q channel track number f0aa qmode r q channel mode number f0ab qamin r q channel minutes number (absolute) f0ac hostpass r/w interface device pass through register address 0x04 f0ad hostpass r/w interface device pass through register address 0x05 f0ae hostpass r/w interface device pass through register address 0x06 f0af hostpass r/w interface device pass through register address 0x07 f0b1 qasec r q channel seconds (absolute) f0b2 qafrm r q channel frames (absolute) f0b3 -- not connected f0b4 hostpass r/w interface device pass through register address 0x08 f0b5 hostpass r/w interface device pass through register address 0x09 f0b6 hostpass r/w interface device pass through register address 0x0a
1996 jul 02 50 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 f0b7 hostpass r/w interface device pass through register address 0x0b f0b9 wtgctl w glic control registers (audio control) f0ba rdsw r drive control switches register f0bb fectl r/w front-end control register f0bc hostpass r/w interface device pass through register address 0x0c f0bd hostpass r/w interface device pass through register address 0x0d f0be hostpass r/w interface device pass through register address 0x0e f0bf hostpass r/w interface device pass through register address 0x0f f0c0 brgsel r/w baud rate generator select register f0c1 wtdir r/w SAA7390-host interface direction plus audio mode control f0c2 gpioctl r/w general purpose bits control register f0c3 rddstat r data status register f0c4 sercom r/w SAA7390: basic engine communications port f0c5 strtmin r/w start minutes (automatic control) f0c6 strtsec r/w start seconds (automatic control) f0c6 stopcnt r/w stop count low byte (automatic control) f0c7 strtfrm r/w start frame (automatic control) f0c7 stopcnt r/w stop count high byte (automatic control) f0c9 rdjmprs r option jumper register (attached to dram data bus) f0ce cmsk r/w cdb2 interrupt mask register f0cf qindx r q channel index (track relative) f0d1 ccmd r/w cdb2 command register f0d2 csts r cdb2 status register f0d3 cbch r/w cdb2 block counter high f0d4 cbcl r/w cdb2 block counter low f0d5 cmin r/w cdb2 header minutes register f0d6 csec r/w cdb2 header seconds register f0d7 cfrm r/w cdb2 header frame register f0d8 ctst w test register for cdb2 block f0d9 cctl r/w control register for cdb2 block f0da cstat r status register for cdb2 block f0db cmde r/w cdb2 header mode register f0dc cfn r/w cdb2 ?le number register f0dd cchan r/w cdb2 channel number register f0de csmd r/w cdb2 sub-mode byte register f0df cdtb r/w cdb2 data type byte register f0e1 bmfectl r/w buffer manager front-end control f0e2 fefrmoff r/w front-end 8 lsbs; frame offset f0e3 fefrmoff r/w front-end 4 msbs; frame offset (bit 0 to bit 3) f0e4 fefrm# r/w front-end 8 lsbs of the frame f0e5 fefrm# r/w front-end 3 msbs of the frame (bit 0 to bit 2) address mnemonic read/write description
1996 jul 02 51 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 f0e6 lstcmpfm r 8 lsbs; last complete frame number f0e7 lstcmpfm r 3 msbs; last complete frame number (bit 0 to bit 2) f0e8 hostoffs r/w host interface 8 lsbs; offset start (a and b) f0e9 hostoffs r/w host interface 4 msbs; offset start (bit 0 to bit 3) f0ea hostoffe r/w host interface 8 lsbs; offset end (a and b) f0eb hostoffe r/w host interface 4 msbs; offset end (bit 0 to bit 3) f0ec hostsfrm r/w host interface 8 lsbs; start transfer frame number f0ed hostsfrm r/w host interface 3 msbs; start frame number (bit 0 to bit 2) f0ee hostcfrm r/w host interface 8 lsbs; current frame number f0ef hostcfrm r/w host interface 3 msbs; current frame number (bit 0 to bit 2) f0f1 sc_ctl r/w serial communication control f0f2 lstfhost r/w last frame host interface low f0f3 lstfhost r/w last frame host interface high f0f4 eccfrm# r/w ecc 8 lsbs; frame number (frame address) f0f5 eccfrm# r/w ecc 3 msbs; frame number (bit 0 to bit 2) f0f6 micfrm# r/w microcontroller 8 lsbs; frame number (frame address) f0f7 micfrm# r/w microcontroller 3 msbs; frame number (bit 0 to bit 2) f0f8 lastfrm r/w last frame number for storage 8 lsbs f0f9 lastfrm r/w last frame number 3 msbs (bit 0 to bit 2) f0fa qsec r q channel seconds (track relative) f0fb intrmsk r/w interrupt mask register f0fc intrflg r/w interrupt ?ag register f0fd hostmod r/w host interface mode control f0fe dramsel r/w dram selection/test mode register. f0ff pagereg r/w 80c32 linear address page register address mnemonic read/write description
1996 jul 02 52 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 14 limiting values in accordance with the absolute maximum rating system (iec 134). 15 operating characteristics 15.1 i 2 s-bus timing; data mode v dd = 4.75 to 5.25 v; v ss =0v; t amb = - 10 to +70 c; unless otherwise speci?ed. note 1. the i 2 s-bus timing is directly related to the overspeed factor n in the normal operating mode. in the lock-to-disc mode n is replaced by the disc speed factor d. symbol parameter min. max. unit v dd digital supply voltage - 0.5 +7 v v i(max) maximum input voltage on any pin v ss - 0.5 v dd + 0.5 v v o output voltage on any output - 0.5 +7 v t stg storage temperature - 55 +150 c symbol parameter conditions min. typ. max. unit i 2 s-bus timing (single speed n); see fig.15 and note 1 c lock input : clab t cy output clock period sample rate = f s - 472.4/n - ns sample rate = 2 f s - 236.2/n - ns sample rate = 4 f s - 118.1/n - ns t ch clock high time sample rate = f s 166/n -- ns sample rate = 2f s 83/n -- ns sample rate = 4f s 42/n -- ns t cl clock low time sample rate = f s 166/n -- ns sample rate = 2f s 83/n -- ns sample rate = 4f s 42/n -- ns i nputs : daab, wsab and efab t su set-up time sample rate = f s 95/n -- ns sample rate = 2f s 48/n -- ns sample rate = 4f s 24/n -- ns t h hold time sample rate = f s 95/n -- ns sample rate = 2f s 48/n -- ns sample rate = 4f s 24/n -- ns
1996 jul 02 53 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 15.2 eiaj timing; audio mode v dd = 4.75 to 5.25 v; v ss =0v; t amb = - 10 to +70 c; unless otherwise speci?ed. note 1. the eiaj timing is directly related to the overspeed factor n in the normal operating mode. in the lock-to-disc mode n is replaced by the disc speed factor d. symbol parameter conditions min. typ. max. unit eiaj timing (single speed n); see fig.16 and note 1 c lock input : clab t cy output clock period sample rate = f s - 472.4/n - ns sample rate = 2 f s - 236.2/n - ns sample rate = 4 f s - 118.1/n - ns t ch clock high time sample rate = f s 166/n -- ns sample rate = 2f s 83/n -- ns sample rate = 4f s 42/n -- ns t cl clock low time sample rate = f s 166/n -- ns sample rate = 2f s 83/n -- ns sample rate = 4f s 42/n -- ns i nputs : daab, wsab and efab t su set-up time sample rate = f s 95/n -- ns sample rate = 2f s 48/n -- ns sample rate = 4f s 24/n -- ns t h hold time sample rate = f s 95/n -- ns sample rate = 2f s 48/n -- ns sample rate = 4f s 24/n -- ns
1996 jul 02 54 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 fig.15 i 2 s-bus timing diagram. handbook, full pagewidth 1 0 15 14 13 12 11 10 9 8 7654321 0 clab daab wsab efab (error flags) left left lsb valid right msb valid right lsb valid right mge399 0.8 v 0.8 v clab t h clock period t cy t cl t su t ch v dd - 0.8v v dd - 0.8 v daab wsab efab handbook, full pagewidth clab daab 10 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 wsab efab left right mge400 0.8 v 0.8 v clab t h clock period t cy t cl t su t ch v dd - 0.8v v dd - 0.8 v daab wsab efab fig.16 eiaj timing diagram.
1996 jul 02 55 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 15.3 r-w timing (see fig.17) the data from sub-code r-w may be read via the v4 pin from the cd-decoder (saa7372) and has a format similar to rs232. the sub-code synchronization word is formatted by a pause of 200 m s minimum. each sub-code byte starts with a logic 1 followed by seven bits (q to w). the gap between bytes is variable between 1.3 and 90 m s. 15.4 c-?ag timing (see fig.18) a 1-bit flag signal is input to the cflag pin. this signal shows the status of the error corrector and interpolator and is updated every frame. fig.17 sub-code formatting and timing from the v4 pin. handbook, full pagewidth w96 1 q1r1s1t1u1v1w1 1 200 m s min 11.3 m s 11.3 m s min 90 m s max mge401 fig.18 c-flag output timing. handbook, full pagewidth f1 f2 f3 f4 f5 f6 f7 11.3 m s 45.4 m s (nominal speed) mge402
1996 jul 02 56 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 15.5 s2b interface timing the s2b serial interface consists of four lines (see fig.19): transmit data (txd) receive data (rxd) data path ready to accept data; active low ( cpr) basic engine ready to accept data; active low ( spr). these are used for communication. txd and cpr for sending acknowledges and information data to the data path and rxd and spr for receiving commands and parameters from the data path. the data is transferred frame-wise and asynchronously. a data frame is proceeded by a start-bit (active low), followed by the actual data byte, and again followed by a parity bit (even parity), and a stop bit (active high), see fig.20. in total, eleven bits per frame are incorporated. the interface is full duplex, meaning data frames may be transmitted and received simultaneously. the bit-rate is selectable: 187.5 kbits/s with a 2.6% error 62.5 kbits/s with a 0.4% error 31.25 kbits/s with a 0.4% error. fig.19 s2b interface. handbook, halfpage mge403 rxd data path sequoia basic engine cpr txd spr txd cpr rxd spr fig.20 s2b timing. handbook, halfpage mge404 s0 txd 01234567ps1 cpr
1996 jul 02 57 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 15.6 spi interface timing the control communication between the cd-r engine and the interface module is based on data blocks that are swapped in the same cycle. the control communication channel is byte and message synchronous. byte synchronization is realized with an acknowledge after each byte that is transferred. message synchronization is ensured through resetting the serial shift register after each communication synchronization pulse. this is to detect the start of the next data block even if a time-out or bit-slip occurs. this control interface is used for the exchange of: sub-code data commands with parameters status information. the control interface channel is implemented as a bidirectional, synchronous, high-speed serial link, having the following advantages: the q sub-code and header data can be coupled (synchronized) the user part has real time access of the q sub-code information the user part has full control over the cd-r engines mode of operation, for example synchronous stop while recording high speed data transfers are possible; up to 2 mbits/s for the microcontroller in slave mode. table 78 spi timing parameters symbol parameter min. max. unit t cy serial clock cycle time 500 - ns t ch serial clock high time 210 - ns t cl serial clock low time 210 - ns t su serial input data set-up time to com_clk 80 - ns t h serial input data hold time from com_clk 80 - ns t d serial output delay after com_clk 0 150 ns fig.21 serial communication timing and synchronization. handbook, full pagewidth mge523 comm_sync engine data available com_ack user data available com_clk
1996 jul 02 58 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 fig.22 acknowledge signal timing. 30 to 700 m s 30 to 700 m s handbook, full pagewidth mge524 serial data in acknowledge fig.23 synchronous serial communication channel timing. handbook, full pagewidth mge525 t cl t ch t cy t su t h t d com_clk com_in com_out
1996 jul 02 59 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 15.6.1 r elationship between communication and system synchronization the system synchronization line (sys_sync) is locked on a hardware generated frame synchronization; the decoders sub-code, the atip and the encoders synchronization signals. the communication synchronization line (com_sync) has the same frequency as sys_sync, except for four-times speed operation, where it is down-scaled with a factor 3. table 80 provides a representation between the speed and synchronization lines. table 79 relationship of synchronization line frequency and speed. signal speed (ms) n=1 n=2 n=4 n=6 sys_sync (full period) 13.3 6.6 3.3 2.2 sys_sync (half period) 6.6 3.3 1.66 1.1 com_sync (half period) 6.6 3.3 5.0 3.3 fig.24 phase relationship of com_sync and sys_sync (n = 1, n = 2). handbook, full pagewidth mge526 decoder interrupt atip sync interrupt encoder interrupt com_sync sys_sync fig.25 phase relationship of com_sync and sys_sync (n = 4). handbook, full pagewidth mge527 decoder interrupt com_sync sys_sync
1996 jul 02 60 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 15.7 microprocessor interface v dd = 4.75 to 5.25 v; v ss =0v; t amb = - 10 to +70 c; unless otherwise speci?ed. symbol parameter min. max. unit microprocessor timing; see figs 26, 27 and 28 t lhll ale pulse width 60 - ns t avll address valid to ale low 15 - ns t llax address hold after ale low 35 - ns t llpl ale low to psen low 25 - ns t plph psen pulse width 80 - ns t pliv psen low to valid input instruction - 65 ns t pxix input instruction hold after psen 0 - ns t pxiz input instruction ?oat after psen - 30 ns t aviv address to valid input instruction - 130 ns t plaz psen low to address ?oat - 6ns t rlrh uc_rd pulse width 180 - ns t wlwh uc_wr pulse width 180 - ns t rldv uc_rd low to valid input data - 135 ns t rhdx data hold after uc_rd 0 - ns t rhdz data ?oat after uc_rd - 70 ns t lldv ale low to valid input data - 235 ns t avdv address to valid input data - 260 ns t llwl ale low to uc_rd or uc_wr low 90 115 ns t avwl address low to uc_rd or uc_wr low 115 - ns t qvwx data valid to uc_wr transition 20 - ns t whqx data hold after uc_wr 20 - ns t rlaz uc_rd low to address ?oat - 0ns t whlh uc_rd or uc_wr low to ale high 20 40 ns
1996 jul 02 61 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 fig.26 external program memory read cycle. handbook, full pagewidth mge528 t lhll t avll t llpl t pliv t plph t llax t plaz t pxiz t pxix t aviv ale psen la7 to la0 a15 to a8 fig.27 external data memory read cycle. handbook, full pagewidth mge529 t whlh t lldv t llwl t rlrh t llax t avll t rlvd t rhdz t avwl t avdv ale psen uc_rd uc_ad7 to uc_ad0 uc_a15 to uc_a8
1996 jul 02 62 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 fig.28 external data memory write cycle. handbook, full pagewidth mge530 t whlh t rlrh t llwl t llax t qvwx t avll t whqx t avwl ale psen uc_wr uc_ad7 to uc_ad0 uc_a15 to uc_a8
1996 jul 02 63 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 15.8 host interface 15.8.1 r egister interface v dd = 4.75 to 5.25 v; v ss =0v; t amb = - 10 to +70 c; unless otherwise speci?ed. note 1. these timings are taken form the 53cf90; the 53cd92a/b timings are slightly different. symbol parameter min. max. unit read cycle timing; see fig.29; note 1 t 1 address set-up time to hostsel low 0 - ns t 2 address hold time from hostsel low 50 - ns t 3 hostsel high to hostsel low 40 - ns t 4 hostsel low to hostrd low 0 - ns t 5 hostrd pulse width 25 - ns t 6 hostrd high to hostsel high 0 - ns t 7 hostrd high to hostsel low 40 - ns t 8 hostsel low to data valid 0 40 ns t 9 hostrd low to data valid 0 25 ns t 10 hostsel high to data release 2 25 ns t 11 hostrd high to data release 2 25 ns write cycle timing; see fig.30; note 1 t 1 address set-up time to hostsel low 0 - ns t 2 address hold time from hostsel low 50 - ns t 3 hostsel high to hostsel low 40 - ns t 4 hostsel low to hostwr low 0 - ns t 5 hostwr pulse width 25 - ns t 6 hostwr high to hostsel high 0 - ns t 7 hostwr high to hostsel low 40 - ns t 8 hostwr high to hostwr low 40 40 ns t 9 data set-up time to hostwr high 8 25 ns t 10 data hold time from hostwr high 0 25 ns t 11 data set-up time to hostsel high 10 25 ns t 12 data hold time from hostsel high 35 25 ns
1996 jul 02 64 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 fig.29 register read cycle timing. handbook, full pagewidth mge531 t 1 t 2 t 6 t 5 t 3 t 7 t 10 t 4 t 9 t 8 t 11 uc_ad3 to uc_ad0 hostsel hostrd uc_ad7 to uc_ad0 fig.30 register write cycle timing. handbook, full pagewidth mge532 t 1 t 2 t 6 t 3 t 7 t 5 t 8 t 4 t 9 t 10 t 11 t 12 uc_ad3 to uc_ad0 hostsel hostwr uc_ad7 to uc_ad0
1996 jul 02 65 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 15.8.2 dma interface timing v dd = 4.75 to 5.25 v; v ss =0v; t amb = - 10 to +70 c; unless otherwise speci?ed. note 1. t cs +30 - t 3 and t cp ; where t cs is the synchronization latency and t cp is the clock period. symbol parameter min. max. unit dma read cycle timing; see fig.31 t 1 dack low to dreq low - 20 ns t 2 dack high to dreq high - 20 ns t 3 dack high to dack low 12 - ns t 4 dack pulse width 35 - ns t 5 dack low to dack low 75 - ns t 6 dack high to dack high note 1 - ns t 7 dack low to hostrd low 0 - ns t 8 hostrd pulse width t 12 - ns t 9 hostrd high to dack high 0 - ns t 10 dack high to data valid - 30 ns t 11 dack low to data valid - 25 ns t 12 hostrd low to data valid - 25 ns t 13 dack high to data release 2 25 ns t 14 hostrd high to data release 2 25 ns dma write cycle timing; see fig.32 t 1 dack low to dreq low - 20 ns t 2 dack high to dreq high - 20 ns t 3 dack high to dack low 12 - ns t 4 dack pulse width 35 - ns t 5 dack low to dack low 75 - ns t 6 dack high to dack high note 1 - ns t 7 dack low to hostwr low 0 - ns t 8 hostwr pulse width 30 - ns t 9 hostwr high to dack high 0 - ns t 10 hostwr high to hostwr high 30 - ns t 11 data set-up time to hostwr high 8 - ns t 12 data hold time from hostwr high 0 - ns t 13 data set-up time to dack high 10 - ns t 14 data hold time from dack high 10 - ns
1996 jul 02 66 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 fig.31 dma read cycle timing. d book, full pagewidth mge533 t 6 t 1 t 5 t 4 t 2 t 7 t 8 t 9 t 3 t 12 t 14 t 13 t 11 t 10 dreq dack hostrd sd7 to sd0 fig.32 dma write cycle timing. handbook, full pagewidth mge534 t 1 t 6 t 2 t 4 t 5 t 7 t 8 t 9 t 3 t 11 t 12 t 10 t 13 t 14 dreq dack hostwr sd7 to sd0
1996 jul 02 67 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 15.9 dram interface (the SAA7390 is designed to operate with standard 70 ns drams) v dd = 4.75 to 5.25 v; v ss =0v; t amb = - 10 to +70 c; unless otherwise speci?ed. symbol parameter min. max. unit dram interface timing; see figs 33 to 37 t acc;ca access time from column address - 35 ns t hca;ras column address hold time from ras 55 - ns t su;ca column address set-up time 0 - ns t su;ra row address set-up time 0 - ns t acc;cas access time from cas - 20 ns t h;ca column address hold time 15 - ns t w;cas cas pulse width 20 10000 ns t h;cas cas hold time (cbr refresh) 15 - ns t caslz cas to output in low impedance 3 - ns t pcas cas precharge time 10 - ns t acc;pcas access time from cas precharge - 40 ns t pcas;ras cas to ras precharge time 5 - ns t h;cas cas hold time 70 - ns t su;cas cas set-up time (cbr refresh) 5 - ns t wcasl write command to cas lead time 20 - ns t h;dat data input hold time 15 - ns t hdat;ras data input hold time from ras 55 - ns t su;dat data input set-up time 0 - ns t d;off output buffer turn off delay 3 20 ns t cy;fpr/w fast page mode read or write cycle time 40 - ns t cy;fpr-w fast page mode read-write cycle time n/a (1) - ns t acc;ras access time from ras - 70 ns t dras;ca ras to column address delay time 15 35 ns t h;ra row address hold time 10 - ns t w;ras ras pulse width 70 10000 ns t w;rasfp ras pulse width (fast page mode) 70 100000 ns t ca;rasl column address to ras lead time 35 - ns t cy;r/w random read or write cycle time 130 - ns t dras;cas ras to cas delay time 20 50 ns t su;r read command set-up time 0 - ns t hrr;cas read command hold time (referenced to cas) 0 - ns t ref refresh period - 32 ns t pras ras precharge time 50 - ns t pras;cas ras to cas precharge time 0 - ns t hr;ras read command hold time (referenced to ras) 0 - ns t h;ras ras hold time 20 - ns t cy;r-w read-write cycle time n/a (1) - ns
1996 jul 02 68 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 note 1. not applicable. t rasl;w write command to ras lead time 20 - ns t trans transition time (rise or fall) 3 50 ns t hw write command hold time 15 - ns t hw;ras write command hold time (referenced to ras) 55 - ns t su;we we command set-up time 0 - ns t w;w write command pulse width 15 - ns t h;we we hold time (cbr refresh) 10 - ns t su;we we set-up time (cbr refresh) 10 - ns symbol parameter min. max. unit fig.33 dram read cycle. ha ndbook, full pagewidth mge412 t pras t w;ras t cy;r/w t pcas;ras t dras;cas t w;cas t h;ras t h;cas t su;ra t h;ra t su;ca t dras;ca t hca;ras t ca;rasl t h;ca row column row t acc;ca t acc;ras t acc;cas t caslz t d;off address data cas ras
1996 jul 02 69 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 fig.34 dram early write cycle. handbook, full pagewidth mge413 t pras t w;ras t cy;r/w t pcas;ras t dras;cas t w;cas t h;ras t h;cas t su;ra t h;ra t su;ca t dras;ca t hca;ras t ca;rasl t h;ca row column row t hdat;ras t su;dat t h;dat address data cas ras
1996 jul 02 70 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 a ndbook, full pagewidth mge414 t w;rasfp t pcas;ras t dras;cas t w;cas t cy;fpr / w t pcas t pcas t w;cas t h;ras t w;cas t h;cas t su;ra t su;ca t h;ra t dras;ca t hca;ras row column column column t h;ca t d;off t caslz t acc;cas t acc;pcas t acc;ca t d;off t caslz t acc;cas t acc;pcas t acc;ca t d;off t caslz t acc;cas t acc;pcas t acc;ca t h;ca t su;ca t ca;rasl t su;ca t h;ca address data cas ras fig.35 fast page mode dram read cycle.
1996 jul 02 71 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 a ndbook, full pagewidth mge415 t w;ras t pcas;ras t dras;cas t w;cas t cy;fpr / w t pcas t pcas t w;cas t h;ras t hdat;ras t w;cas t h;cas t su;ra t su;dat t su;dat t su;ca t h;ra t dras;ca t hca;ras row column column column t h;ca t h;dat t su;dat t h;dat t h;dat t h;ca t su;ca t ca;rasl t su;ca t h;ca address data cas ras fig.36 fast page mode dram write cycle.
1996 jul 02 72 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 fig.37 dram refresh cycle. handbook, full pagewidth mge416 t w;ras t pras t cy;r/w t pcas;ras t pras;cas t su;ra t h;ra address row row cas ras
1996 jul 02 73 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 16 package outline unit a 1 a 2 a 3 b p ce (1) eh e ll p y w v q references outline version european projection issue date iec jedec eiaj mm 0.25 0.25 3.05 2.55 0.27 0.17 0.20 0.09 14.0 20.0 0.50 17.2 7 0 o o 0.08 0.10 0.20 1.60 dimensions (mm are the original dimensions) note 1. plastic or metal protrusions of 0.25 mm maximum per side are not included. 0.95 0.65 sot387-2 96-03-14 d (1) h d 23.2 e q e a 1 a l p detail x l (a ) 3 b 38 b p e h a 2 d a e v m a 1 128 103 102 65 64 39 pin 1 index y b p d h v m b w m w m 0 5 10 mm scale c sqfp128: plastic shrink quad flat package; 128 leads (lead length 1.6 mm); body 14 x 20 x 2.8 mm sot387-2 a max. min. 3.40 x
1996 jul 02 74 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 17 soldering 17.1 introduction there is no soldering method that is ideal for all ic packages. wave soldering is often preferred when through-hole and surface mounted components are mixed on one printed-circuit board. however, wave soldering is not always suitable for surface mounted ics, or for printed-circuits with high population densities. in these situations reflow soldering is often used. this text gives a very brief insight to a complex technology. a more in-depth account of soldering ics can be found in our ic package databook (order code 9398 652 90011). 17.2 re?ow soldering reflow soldering techniques are suitable for all qfp packages. the choice of heating method may be influenced by larger plastic qfp packages (44 leads, or more). if infrared or vapour phase heating is used and the large packages are not absolutely dry (less than 0.1% moisture content by weight), vaporization of the small amount of moisture in them can cause cracking of the plastic body. for more information, refer to the drypack chapter in our quality reference handbook (order code 9397 750 00192). reflow soldering requires solder paste (a suspension of fine solder particles, flux and binding agent) to be applied to the printed-circuit board by screen printing, stencilling or pressure-syringe dispensing before package placement. several techniques exist for reflowing; for example, thermal conduction by heated belt. dwell times vary between 50 and 300 seconds depending on heating method. typical reflow temperatures range from 215 to 250 c. preheating is necessary to dry the paste and evaporate the binding agent. preheating duration: 45 minutes at 45 c. 17.3 wave soldering wave soldering is not recommended for qfp packages. this is because of the likelihood of solder bridging due to closely-spaced leads and the possibility of incomplete solder penetration in multi-lead devices. if wave soldering cannot be avoided, the following conditions must be observed: a double-wave (a turbulent wave with high upward pressure followed by a smooth laminar wave) soldering technique should be used. the footprint must be at an angle of 45 to the board direction and must incorporate solder thieves downstream and at the side corners. even with these conditions, do not consider wave soldering the following packages: qfp52 (sot379-1), qfp100 (sot317-1), qfp100 (sot317-2), qfp100 (sot382-1) or qfp160 (sot322-1). during placement and before soldering, the package must be fixed with a droplet of adhesive. the adhesive can be applied by screen printing, pin transfer or syringe dispensing. the package can be soldered after the adhesive is cured. maximum permissible solder temperature is 260 c, and maximum duration of package immersion in solder is 10 seconds, if cooled to less than 150 c within 6 seconds. typical dwell time is 4 seconds at 250 c. a mildly-activated flux will eliminate the need for removal of corrosive residues in most applications. 17.4 repairing soldered joints fix the component by first soldering two diagonally- opposite end leads. use only a low voltage soldering iron (less than 24 v) applied to the flat part of the lead. contact time must be limited to 10 seconds at up to 300 c. when using a dedicated tool, all other leads can be soldered in one operation within 2 to 5 seconds between 270 and 320 c.
1996 jul 02 75 philips semiconductors preliminary speci?cation high performance compact disc-recordable (cd-r) controller SAA7390 18 definitions 19 life support applications these products are not designed for use in life support appliances, devices, or systems where malfunction of these products can reasonably be expected to result in personal injury. philips customers using or selling these products for use in such applications do so at their own risk and agree to fully indemnify philips for any damages resulting from such improper use or sale. data sheet status objective speci?cation this data sheet contains target or goal speci?cations for product development. preliminary speci?cation this data sheet contains preliminary data; supplementary data may be published later. product speci?cation this data sheet contains ?nal product speci?cations. limiting values limiting values given are in accordance with the absolute maximum rating system (iec 134). stress above one or more of the limiting values may cause permanent damage to the device. these are stress ratings only and operation of the device at these or at any other conditions above those given in the characteristics sections of the speci?cation is not implied. exposure to limiting values for extended periods may affect device reliability. application information where application information is given, it is advisory and does not form part of the speci?cation.
internet: http://www.semiconductors.philips.com/ps/ (1) SAA7390_1.copy june 26, 1996 11:51 am philips semiconductors C a worldwide company ? philips electronics n.v. 1996 sca50 all rights are reserved. reproduction in whole or in part is prohibited without the prior written consent of the copyright owne r. the information presented in this document does not form part of any quotation or contract, is believed to be accurate and reli able and may be changed without notice. no liability will be accepted by the publisher for any consequence of its use. publication thereof does not con vey nor imply any license under patent- or other industrial or intellectual property rights. netherlands: postbus 90050, 5600 pb eindhoven, bldg. vb, tel. +31 40 27 83749, fax. +31 40 27 88399 new zealand: 2 wagener place, c.p.o. box 1041, auckland, tel. +64 9 849 4160, fax. +64 9 849 7811 norway: box 1, manglerud 0612, oslo, tel. +47 22 74 8000, fax. +47 22 74 8341 philippines: philips semiconductors philippines inc., 106 valero st. salcedo village, p.o. box 2108 mcc, makati, metro manila, tel. +63 2 816 6380, fax. +63 2 817 3474 poland: ul. lukiska 10, pl 04-123 warszawa, tel. +48 22 612 2831, fax. +48 22 612 2327 portugal: see spain romania: see italy russia: philips russia, ul. usatcheva 35a, 119048 moscow, tel. +7 095 926 5361, fax. +7 095 564 8323 singapore: lorong 1, toa payoh, singapore 1231, tel. +65 350 2538, fax. +65 251 6500 slovakia: see austria slovenia: see italy south africa: s.a. philips pty ltd., 195-215 main road martindale, 2092 johannesburg, p.o. box 7430 johannesburg 2000, tel. +27 11 470 5911, fax. +27 11 470 5494 south america: rua do rocio 220, 5th floor, suite 51, 04552-903 s?o paulo, s?o paulo - sp, brazil, tel. +55 11 821 2333, fax. +55 11 829 1849 spain: balmes 22, 08007 barcelona, tel. +34 3 301 6312, fax. +34 3 301 4107 sweden: kottbygatan 7, akalla, s-16485 stockholm, tel. +46 8 632 2000, fax. +46 8 632 2745 switzerland: allmendstrasse 140, ch-8027 zrich, tel. +41 1 488 2686, fax. +41 1 481 7730 taiwan: philips taiwan ltd., 23-30f, 66, chung hsiao west road, sec. 1, p.o. box 22978, taipei 100, tel. +886 2 382 4443, fax. +886 2 382 4444 thailand: philips electronics (thailand) ltd., 209/2 sanpavuth-bangna road prakanong, bangkok 10260, tel. +66 2 745 4090, fax. +66 2 398 0793 turkey: talatpasa cad. no. 5, 80640 gltepe/istanbul, tel. +90 212 279 2770, fax. +90 212 282 6707 ukraine: philips ukraine, 2a akademika koroleva str., office 165, 252148 kiev, tel. +380 44 476 0297/1642, fax. +380 44 476 6991 united kingdom: philips semiconductors ltd., 276 bath road, hayes, middlesex ub3 5bx, tel. +44 181 730 5000, fax. +44 181 754 8421 united states: 811 east arques avenue, sunnyvale, ca 94088-3409, tel. +1 800 234 7381, fax. +1 708 296 8556 uruguay: see south america vietnam: see singapore yugoslavia: philips, trg n. pasica 5/v, 11000 beograd, tel. +381 11 825 344, fax.+381 11 635 777 for all other countries apply to: philips semiconductors, marketing & sales communications, building be-p, p.o. box 218, 5600 md eindhoven, the netherlands, fax. +31 40 27 24825 argentina: see south america australia: 34 waterloo road, north ryde, nsw 2113, tel. +61 2 9805 4455, fax. +61 2 9805 4466 austria: computerstr. 6, a-1101 wien, p.o. box 213, tel. +43 1 60 101, fax. +43 1 60 101 1210 belarus: hotel minsk business center, bld. 3, r. 1211, volodarski str. 6, 220050 minsk, tel. +375 172 200 733, fax. +375 172 200 773 belgium: see the netherlands brazil: see south america bulgaria: philips bulgaria ltd., energoproject, 15th floor, 51 james bourchier blvd., 1407 sofia, tel. +359 2 689 211, fax. +359 2 689 102 canada: philips semiconductors/components, tel. +1 800 234 7381, fax. +1 708 296 8556 china/hong kong: 501 hong kong industrial technology centre, 72 tat chee avenue, kowloon tong, hong kong, tel. +852 2319 7888, fax. +852 2319 7700 colombia: see south america czech republic: see austria denmark: prags boulevard 80, pb 1919, dk-2300 copenhagen s, tel. +45 32 88 2636, fax. +45 31 57 1949 finland: sinikalliontie 3, fin-02630 espoo, tel. +358 615 800, fax. +358 615 80920 france: 4 rue du port-aux-vins, bp317, 92156 suresnes cedex, tel. +33 1 40 99 6161, fax. +33 1 40 99 6427 germany: hammerbrookstra?e 69, d-20097 hamburg, tel. +49 40 23 52 60, fax. +49 40 23 536 300 greece: no. 15, 25th march street, gr 17778 tavros, tel. +30 1 4894 339/911, fax. +30 1 4814 240 hungary: see austria india: philips india ltd, shivsagar estate, a block, dr. annie besant rd. worli, mumbai 400 018, tel. +91 22 4938 541, fax. +91 22 4938 722 indonesia: see singapore ireland: newstead, clonskeagh, dublin 14, tel. +353 1 7640 000, fax. +353 1 7640 200 israel: rapac electronics, 7 kehilat saloniki st, tel aviv 61180, tel. +972 3 645 0444, fax. +972 3 648 1007 italy: philips semiconductors, piazza iv novembre 3, 20124 milano, tel. +39 2 6752 2531, fax. +39 2 6752 2557 japan: philips bldg 13-37, kohnan 2-chome, minato-ku, tokyo 108, tel. +81 3 3740 5130, fax. +81 3 3740 5077 korea: philips house, 260-199 itaewon-dong, yongsan-ku, seoul, tel. +82 2 709 1412, fax. +82 2 709 1415 malaysia: no. 76 jalan universiti, 46200 petaling jaya, selangor, tel. +60 3 750 5214, fax. +60 3 757 4880 mexico: 5900 gateway east, suite 200, el paso, texas 79905, tel. +1 800 234 7381, fax. +1 708 296 8556 middle east: see italy printed in the netherlands 517021/50/01/pp76 date of release: 1996 jul 02 document order number: 9397 750 00942


▲Up To Search▲   

 
Price & Availability of SAA7390

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X